aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2010-11-29 11:30:17 +0800
committerlinimon <linimon@FreeBSD.org>2010-11-29 11:30:17 +0800
commit9fd60e719ccb6049fd1066a2286cb281e267e37d (patch)
tree338eb4239622194976dfd8ecb45319ad47a9c98e
parent24eec09e54d43194080d9c53e40ffd70ba7249e9 (diff)
downloadfreebsd-ports-gnome-9fd60e719ccb6049fd1066a2286cb281e267e37d.tar.gz
freebsd-ports-gnome-9fd60e719ccb6049fd1066a2286cb281e267e37d.tar.zst
freebsd-ports-gnome-9fd60e719ccb6049fd1066a2286cb281e267e37d.zip
Move the override of PKG_DBDIR to the right place. This keeps INDEX
from being contaminated by the packages installed on pointyhat-*.
-rw-r--r--Tools/portbuild/scripts/buildenv6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/buildenv b/Tools/portbuild/scripts/buildenv
index 4d3e9dee6222..59119c20a31f 100644
--- a/Tools/portbuild/scripts/buildenv
+++ b/Tools/portbuild/scripts/buildenv
@@ -71,6 +71,9 @@ buildenv () {
branch=$3
builddir=$4
+ # Don't pick up host OPTIONS
+ export PORT_DBDIR=/nonexistent
+
buildenv.common ${pb} ${arch} ${branch} ${builddir}
# override things destined for bsd.port.mk
@@ -105,9 +108,6 @@ buildenv.client() {
buildenv.common ${pb} ${arch} ${branch} ${builddir}
- # Don't pick up host OPTIONS
- export PORT_DBDIR=/nonexistent
-
# manually override results of uname(1)
export UNAME_m=${ARCH}
export UNAME_n=freebsd.org