diff options
author | linimon <linimon@FreeBSD.org> | 2010-06-30 22:51:47 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2010-06-30 22:51:47 +0800 |
commit | 3f4b9ad7c149e3777d0d916fbd88a4ce4e429b3e (patch) | |
tree | 91b29f71eb02f959d316a3344c72cd4ce7f74056 /Tools | |
parent | 86e54c8de1025672e2de66094b02fa701905165e (diff) | |
download | freebsd-ports-gnome-3f4b9ad7c149e3777d0d916fbd88a4ce4e429b3e.tar.gz freebsd-ports-gnome-3f4b9ad7c149e3777d0d916fbd88a4ce4e429b3e.tar.zst freebsd-ports-gnome-3f4b9ad7c149e3777d0d916fbd88a4ce4e429b3e.zip |
Push PACKAGE_BUILDING and MALLOC_OPTIONS up a level.
Feature safe: yes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript index fb2e0059ac85..47d69c859d3c 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -44,6 +44,7 @@ add_pkg() { echo add_pkg $pkgs cd /tmp/depends + # XXX TODO more hard-coding export PKG_PATH=/tmp/depends if [ ! -z "${pkgs}" ]; then arch=$(uname -m) @@ -68,6 +69,7 @@ del_pkg() { pkgs=$* cd /tmp/depends + # XXX TODO more hard-coding export PKG_PATH=/tmp/depends if [ ! -z "${pkgs}" ]; then recursion=1 @@ -117,7 +119,6 @@ RD=$7 #export PATH=/ccache/libexec/ccache/:$PATH #export CCACHE_PATH=/usr/bin:/usr/local/bin -export MALLOC_OPTIONS=AJ # pick up value from environment set up in portbuild script L=`echo ${LOCALBASE} | sed 's,^/,,'` @@ -154,9 +155,6 @@ if [ $phase = 1 ]; then echo "prefixes: LOCALBASE=${L}" - # Inform ports they are being run on the cluster - export PACKAGE_BUILDING=1 - # Stash a copy of /etc/master.passwd and /etc/group to detect whether someone modifies it cp /etc/master.passwd /etc/master.passwd-save cp /etc/group /etc/group-save |