summaryrefslogtreecommitdiff
path: root/mk/bulk/build
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bulk/build')
-rw-r--r--mk/bulk/build18
1 files changed, 17 insertions, 1 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index 37bf7a23549..9f1c70fe8f9 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.5 2000/12/11 21:40:54 skrll Exp $
+# $NetBSD: build,v 1.6 2000/12/30 14:53:28 dmcmahill Exp $
#
# Do builk build
#
@@ -36,6 +36,22 @@ unset DISPLAY # allow sane failure for gimp, xlispstat
cd ${USR_PKGSRC}
+# extract the name of the files used for the build log and broken build log.
+# these have defaults set by bsd.bulk-pkg.mk and may be overridden in /etc/mk.conf
+BROKENF=`( cd $USR_PKGSRC/pkgtools/pkglint ; make show-var VARNAME=BROKENFILE )`;
+export BROKENF
+if [ "$BROKENF" = "" ]; then
+ echo "Had problems determining the name of the .broken.files"
+ exit 1
+fi
+BLDLOG=`( cd $USR_PKGSRC/pkgtools/pkglint ; make show-var VARNAME=BUILDLOG )`;
+export BLDLOG
+if [ "$BLDLOG" = "" ]; then
+ echo "Had problems determining the name of the .make.files"
+ exit 1
+fi
+
+
if [ "$1" = "restart" ]; then
echo Restarting - skipping pre-build script
else