pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk PRUNEDISTFILES and PRUNEPACKAGES may be left u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/68472ca4de25
branches:  trunk
changeset: 502838:68472ca4de25
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Nov 09 18:48:22 2005 +0000

description:
PRUNEDISTFILES and PRUNEPACKAGES may be left undefined in build.conf, as
they get useful default values in the pre-build script. Thanks to
kristerw for pointing that out.

diffstat:

 mk/bulk/post-build-conf |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 366d432d1208 -r 68472ca4de25 mk/bulk/post-build-conf
--- a/mk/bulk/post-build-conf   Wed Nov 09 18:42:32 2005 +0000
+++ b/mk/bulk/post-build-conf   Wed Nov 09 18:48:22 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: post-build-conf,v 1.4 2005/11/06 17:14:07 rillig Exp $
+# $NetBSD: post-build-conf,v 1.5 2005/11/09 18:48:22 rillig Exp $
 #
 
 # This file is included after the build.conf file by the "build" and
@@ -131,8 +131,8 @@
        pbc_checknonempty arch
        pbc_checkexistingfile BULK_BUILD_CONF
        pbc_checkexistingdir USR_PKGSRC
-       case ${MAKECONF+set} in set)
-               pbc_checkexistingfile MAKECONF;;
+       case ${MAKECONF+set} in
+       "set")  pbc_checkexistingfile MAKECONF;;
        esac
 
        # section "Keeping pkgsrc up-to-date"
@@ -140,7 +140,9 @@
        # no checks for CVS_FLAGS
 
        # section "Getting distfiles"
-       pbc_checkyesno PRUNEDISTFILES
+       case ${PRUNEDISTFILES+set} in
+       "set")  pbc_checkyesno PRUNEDISTFILES
+       esac
        # no checks for ftp_proxy
        # no checks for http_proxy
 
@@ -152,7 +154,9 @@
 
        # section "Uploading binary packages"
        pbc_checkyesno UPDATE_VULNERABILITY_LIST
-       pbc_checkyesno PRUNEPACKAGES
+       case ${PRUNEPACKAGES+set} in
+       "set")  pbc_checkyesno PRUNEPACKAGES
+       esac
        pbc_checkyesno MKSUMS
        # no checks for SIGN_AS
        # no checks for RSYNC_DST



Home | Main Index | Thread Index | Old Index