aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-18 16:58:24 +0800
committerkris <kris@FreeBSD.org>2007-02-18 16:58:24 +0800
commit6de9ea0713fd07f8c8c858b5df91f03128a18d4e (patch)
tree5a72e4f428ad44220de89111fdee83a549835ee3
parent029d6698e432ddc4e48d6c0510c63ce715ce6676 (diff)
downloadfreebsd-ports-gnome-6de9ea0713fd07f8c8c858b5df91f03128a18d4e.tar.gz
freebsd-ports-gnome-6de9ea0713fd07f8c8c858b5df91f03128a18d4e.tar.zst
freebsd-ports-gnome-6de9ea0713fd07f8c8c858b5df91f03128a18d4e.zip
Improved sanitization of the build environment
-rwxr-xr-xTools/portbuild/scripts/makeduds6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/makeduds b/Tools/portbuild/scripts/makeduds
index a394f7b5acf9..8147f6b4e319 100755
--- a/Tools/portbuild/scripts/makeduds
+++ b/Tools/portbuild/scripts/makeduds
@@ -31,6 +31,12 @@ index=${PORTSDIR}/${INDEXFILE}
unset DISPLAY
export PACKAGE_BUILDING=1
+export LOCALBASE=/nonexistentlocal
+export X11BASE=/nonexistentx
+export LINUXBASE=/nonexistentlinux
+export PKG_DBDIR=/nonexistentpkg
+export PORT_DBDIR=/nonexistentport
+
cd ${PORTSDIR}
make -j${DUDSJOBS} ignorelist ECHO_MSG=true > ${duds} || exit 1
sort ${duds} > ${duds}.tmp