diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2006-01-22 04:54:24 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2006-01-22 04:54:24 +0000 |
commit | b713f62e3b5e273386a71c331e72921ee09b8d5a (patch) | |
tree | d2a4ae014dd0de169086fceb7fffbd2e96a98eb9 | |
parent | 9b356bb99d1fa541980574ed55501388aba66fcf (diff) | |
download | freebsd-ports-b713f62e3b5e273386a71c331e72921ee09b8d5a.zip |
Use LOCALBASE and X11BASE from buildenv
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 5 |
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 / |