summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-08-12 14:20:59 +0000
committeragc <agc>2002-08-12 14:20:59 +0000
commit273ac5aaf804611d60bb5b3e7d821f506af0b0cb (patch)
tree0fde50c57bc04658121e62e05aa283e1471320fa
parent2741f2f60fad8d8f3d03bca7e7b371dbe7b471b6 (diff)
downloadpkgsrc-273ac5aaf804611d60bb5b3e7d821f506af0b0cb.tar.gz
In the build script, set BATCH=1 and DEPENDS_TARGET=bulk-install in the
environment, and pass them down to the bulk build. This means that the /etc/mk.conf (or $MAKECONF) can be shared between ordinary builds and bulk builds.
-rw-r--r--mk/bulk/build7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index 6c13d691214..d7ac3ad950e 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.23 2002/08/07 10:56:11 agc Exp $
+# $NetBSD: build,v 1.24 2002/08/12 14:20:59 agc Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@netbsd.org>
@@ -63,6 +63,11 @@ else
fi
fi
+# set up variables specifically for the bulk build
+BATCH=1
+DEPENDS_TARGET=bulk-install
+export BATCH DEPENDS_TARGET
+
if [ "$http_proxy" != "" ]; then
echo "Using HTTP proxy $http_proxy"
export http_proxy