summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-08-12 14:20:59 +0000
committeragc <agc@pkgsrc.org>2002-08-12 14:20:59 +0000
commite9822c16a7e341188ba01350c9580ae61efe2750 (patch)
tree0fde50c57bc04658121e62e05aa283e1471320fa /mk
parent84639e443b90bfb8915d59a4be81be5595179166 (diff)
downloadpkgsrc-e9822c16a7e341188ba01350c9580ae61efe2750.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.
Diffstat (limited to 'mk')
-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