pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk PERL5_PKGSRCDIR is no more. Explicitly use "l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e81b53679127
branches:  trunk
changeset: 494112:e81b53679127
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu May 19 15:18:13 2005 +0000

description:
PERL5_PKGSRCDIR is no more.  Explicitly use "lang/perl58" for the
location of the perl package to install for bulk builds.

diffstat:

 mk/bulk/bsd.bulk-pkg.mk |  4 ++--
 mk/bulk/build           |  6 ++----
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r e0cedb4262de -r e81b53679127 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk   Thu May 19 15:08:10 2005 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk   Thu May 19 15:18:13 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.bulk-pkg.mk,v 1.80 2005/05/06 00:52:30 rillig Exp $
+#      $NetBSD: bsd.bulk-pkg.mk,v 1.81 2005/05/19 15:18:13 jlam Exp $
 
 #
 # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -179,7 +179,7 @@
 .else
        @${ECHO_MSG} "BULK> Extracting database for SPECIFIC_PKGS subset of pkgsrc"
        @${ECHO_MSG} "      along with their dependencies"
-.for __tmp__ in ${SUBDIR} ${BULK_PREREQ} ${PERL5_PKGSRCDIR:C|.*/([^/]*/[^/]*)$|\1|} pkgtools/pkglint
+.for __tmp__ in ${SUBDIR} ${BULK_PREREQ} lang/perl58 pkgtools/pkglint
        cd ${PKGSRCDIR}/${__tmp__} && ${SETENV} BMAKE=${MAKE} AWK=${AWK} EXPR=${EXPR} ${SH} ../../mk/scripts/mkdatabase -a -f ${BULK_DBFILE}
 .endfor
        @${ECHO_MSG} "BULK> Extracting dependency tree file"
diff -r e0cedb4262de -r e81b53679127 mk/bulk/build
--- a/mk/bulk/build     Thu May 19 15:08:10 2005 +0000
+++ b/mk/bulk/build     Thu May 19 15:18:13 2005 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: build,v 1.50 2005/05/18 20:12:49 sketch Exp $
+# $NetBSD: build,v 1.51 2005/05/19 15:18:13 jlam Exp $
 
 #
 # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -189,7 +189,6 @@
 fail=no
 if [ -d pkgtools/pkglint ]; then
        cd pkgtools/pkglint
-       PERL5_PKGSRCDIR=`${BMAKE} show-var VARNAME=PERL5_PKGSRCDIR` || fail=yes
        BULK_DBFILE=`${BMAKE} show-var VARNAME=BULK_DBFILE` || fail=yes
        DEPENDSTREEFILE=`${BMAKE} show-var VARNAME=DEPENDSTREEFILE` || fail=yes
        DEPENDSFILE=`${BMAKE} show-var VARNAME=DEPENDSFILE` || fail=yes
@@ -231,7 +230,6 @@
 # make sure we have values for these very important
 # variables
 if [ $fail = "yes" -o \
-       -z "$PERL5_PKGSRCDIR" -o \
        -z "$BULK_DBFILE" -o \
        -z "$DEPENDSTREEFILE" -o \
        -z "$DEPENDSFILE" -o \
@@ -366,7 +364,7 @@
 done
 
 # Perl was wiped, reinstall it!
-( cd pkgtools/pkglint && cd ${PERL5_PKGSRCDIR} && ${BMAKE} bulk-install )
+( cd lang/perl58 && ${BMAKE} bulk-install )
 perl mk/bulk/post-build | ${MAIL_CMD} -s "pkgsrc ${OPSYS} ${OS_VERSION}/${MACHINE_ARCH} bulk build results `date +%Y-%m-%d`" $ADMIN
 
 # Done!



Home | Main Index | Thread Index | Old Index