aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-01-22 12:54:24 +0800
committerkris <kris@FreeBSD.org>2006-01-22 12:54:24 +0800
commitedcad152acfb49ec9a19c107493af5e55abf1b80 (patch)
tree78c3b36865ebaf0ff3320da251d050d213153df3 /Tools
parent086be3894a89cecbe081fc43b9de4b7155c4f25e (diff)
downloadfreebsd-ports-gnome-edcad152acfb49ec9a19c107493af5e55abf1b80.tar.gz
freebsd-ports-gnome-edcad152acfb49ec9a19c107493af5e55abf1b80.tar.zst
freebsd-ports-gnome-edcad152acfb49ec9a19c107493af5e55abf1b80.zip
Use LOCALBASE and X11BASE from buildenv
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/buildscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript
index e4a9525efbbd..b970b13243f4 100755
--- a/Tools/portbuild/scripts/buildscript
+++ b/Tools/portbuild/scripts/buildscript
@@ -197,7 +197,10 @@ EOF
prefix=$(make -V PREFIX)
del_pkg ${pkgname}
- mtree -X /tmp/mtree.exclude -x -f /tmp/mtree -p / | egrep -v '^(usr/local/var|usr/local/www/|usr/X11R6/lib/X11/xserver/SecurityPolicy|usr/local/share/nls/POSIX|usr/local/share/nls/en_US.US-ASCII|etc/services|compat |usr/X11R6 |etc/manpath.config|etc/.*.bak|usr/local/info/dir|usr/X11R6/lib/X11/fonts/.*/fonts\.|usr/X11R6/(include|share)/pixmaps|usr/local/lib/xemacs|usr/(X11R6|local)/man/..( |/man. )|usr/X11R6/lib/X11/fonts/TrueType )' > /tmp/list3
+ L=`echo ${LOCALBASE} | sed 's,^/,,'`
+ X=`echo ${X11BASE} | sed 's,^/,,'`
+
+ mtree -X /tmp/mtree.exclude -x -f /tmp/mtree -p / | egrep -v "^(${L}/var|${L}/www/|${X}/lib/X11/xserver/SecurityPolicy|${L}/share/nls/POSIX|${L}/share/nls/en_US.US-ASCII|etc/services|compat |${X} |etc/manpath.config|etc/.*.bak|${L}/info/dir|${X}/lib/X11/fonts/.*/fonts\.|${X}/(include|share)/pixmaps|${L}/lib/xemacs|usr/(X11R6|local)/man/..( |/man. )|${X}/lib/X11/fonts/TrueType )" > /tmp/list3
if [ -s /tmp/list3 ]; then
cd /