diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2000-12-30 14:53:28 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2000-12-30 14:53:28 +0000 |
commit | da395b7a6bd4e78acffedf7e0c11246787839a40 (patch) | |
tree | f04cf725553522b570df0f9904c3ef73c99d05b7 /mk/bulk/build.conf-example | |
parent | e633c2ff5ae58e7705b93169a43a7126c024e946 (diff) | |
download | pkgsrc-da395b7a6bd4e78acffedf7e0c11246787839a40.tar.gz |
further cleanup of handling the .broken.files and .make.files
- set BROKENF and BLDLOG in the 'build' script and pass those variables
down to {pre,post}-build in the environment to make sure we only set them
in one place. The values are determined by a
make show-var VARNAME=BROKENFILE
This causes the default (set in bsd.bulk-pkg.mk) or the user overridden
value from /etc/mk.conf or the environment to be correctly determined. This
is more robust that relying on a build.conf setting which may or may not be
correctly set.
- have pre-build only clean up BROKENF and BLDLOG files instead of
.broken* and .make*
This avoids conflicts when pkgsrc is shared among different machines.
Diffstat (limited to 'mk/bulk/build.conf-example')
-rw-r--r-- | mk/bulk/build.conf-example | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/bulk/build.conf-example b/mk/bulk/build.conf-example index 7e9738046f9..ca5eded0d88 100644 --- a/mk/bulk/build.conf-example +++ b/mk/bulk/build.conf-example @@ -1,5 +1,5 @@ # build.conf -# $NetBSD: build.conf-example,v 1.6 2000/12/26 16:45:57 dmcmahill Exp $ +# $NetBSD: build.conf-example,v 1.7 2000/12/30 14:53:28 dmcmahill Exp $ # # config file in /bin/sh syntax for {,pre,post}-build # @@ -38,8 +38,6 @@ PRUNEDISTFILES=yes ### No changes should be needed below this line !!! ########################################################################### -BROKENFILE=`( cd $USR_PKGSRC/pkgtools/pkglint ; make show-var VARNAME=BROKENFILE )`; - # Name of the (generated) HTML file which lists all broken pkgs REPORT="$FTP/broken.html" |