pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Moved the "export BROKENF" command from the to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7198e47fdc10
branches: trunk
changeset: 503437:7198e47fdc10
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Nov 20 14:55:13 2005 +0000
description:
Moved the "export BROKENF" command from the top of the program to the
point where it is actually used, which is when mk/bulk/pre-build.local
is executed for allowing user-specific modifications before the build
begins. That way it's easier to see why this command is necessary at
all.
diffstat:
mk/bulk/pre-build | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 867d6017302c -r 7198e47fdc10 mk/bulk/pre-build
--- a/mk/bulk/pre-build Sun Nov 20 14:15:39 2005 +0000
+++ b/mk/bulk/pre-build Sun Nov 20 14:55:13 2005 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: pre-build,v 1.50 2005/08/26 07:24:53 reed Exp $
+# $NetBSD: pre-build,v 1.51 2005/11/20 14:55:13 rillig Exp $
#
# Clean up system to be ready for bulk pkg build
#
@@ -25,7 +25,6 @@
# These have defaults set by bsd.bulk-pkg.mk and may be overridden in
# /etc/mk.conf
BROKENF=`( cd ${PKGLINT_PKG_DIR} ; ${BMAKE} show-var VARNAME=BROKENFILE )`;
-export BROKENF
if [ "$BROKENF" = "" ]; then
echo "Had problems determining the name of the .broken files"
exit 1
@@ -277,6 +276,7 @@
fi
if [ -f mk/bulk/pre-build.local ]; then
+ export BROKENF
. mk/bulk/pre-build.local
fi
Home |
Main Index |
Thread Index |
Old Index