aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-06-30 22:51:47 +0800
committerlinimon <linimon@FreeBSD.org>2010-06-30 22:51:47 +0800
commit3f4b9ad7c149e3777d0d916fbd88a4ce4e429b3e (patch)
tree91b29f71eb02f959d316a3344c72cd4ce7f74056 /Tools
parent86e54c8de1025672e2de66094b02fa701905165e (diff)
downloadfreebsd-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-xTools/portbuild/scripts/buildscript6
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