Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: source-changes
Date: 12/30/2000 16:53:29
Module Name: pkgsrc
Committed By: dmcmahill
Date: Sat Dec 30 14:53:29 UTC 2000
Modified Files:
pkgsrc/mk/bulk: build build.conf-example post-build pre-build
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/bulk/build
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/bulk/build.conf-example \
pkgsrc/mk/bulk/post-build
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/bulk/pre-build
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.