pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk Remove some legacy variable handling after 2-3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b239c319899
branches:  trunk
changeset: 524682:1b239c319899
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 30 07:11:19 2007 +0000

description:
Remove some legacy variable handling after 2-3 branches.

diffstat:

 mk/bulk/post-build-conf |  17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diffs (41 lines):

diff -r dad9c8f0772a -r 1b239c319899 mk/bulk/post-build-conf
--- a/mk/bulk/post-build-conf   Tue Jan 30 07:10:46 2007 +0000
+++ b/mk/bulk/post-build-conf   Tue Jan 30 07:11:19 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: post-build-conf,v 1.12 2006/01/24 19:19:01 rillig Exp $
+# $NetBSD: post-build-conf,v 1.13 2007/01/30 07:11:19 wiz Exp $
 #
 
 # This file is included after the build.conf file by the "build" and
@@ -157,17 +157,9 @@
 # usage: check_config_vars
 check_config_vars() {
 
-       # Handle legacy variables FTP, FTPHOST, FTPURL, REPORT.
-       # Can be removed after 2006Q2.
        case ${FTP+set},${REPORTS_DIR+set} in
        set,set)
                pbc_die "FTP and REPORTS_DIR must not be set both.";;
-       set,)
-               REPORTS_URL="${FTPHOST}"/`dirname "${FTPURL}"`
-               REPORTS_DIR=`dirname "$FTP"`
-               REPORT_BASEDIR=`basename "${FTP}"`
-               REPORT_HTML_FILE=`basename "${REPORT}"`
-               REPORT_TXT_FILE="report.txt";;
        esac
 
        # section "System information"
@@ -179,13 +171,6 @@
        "set")  pbc_checkexistingfile MAKECONF;;
        esac
 
-       # LEGACY: remove after 2006Q1
-       case ${CVS_USER-""}${CVS_FLAGS+set} in
-       ?*)     pbc_die "CVS_USER and CVS_FLAGS must not be set." \
-                       "See http://mail-index.netbsd.org/pkgsrc-bulk/2005/11/20/0013.html"; \
-                       "and http://mail-index.netbsd.org/pkgsrc-bulk/2005/11/24/0003.html";;;
-       esac
-
        # section "Getting distfiles"
        case ${PRUNEDISTFILES+set} in
        "set")  pbc_checkyesno PRUNEDISTFILES



Home | Main Index | Thread Index | Old Index