diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-08 01:23:20 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-08 01:23:20 +0000 |
commit | 6ebc6a8ffb63a8e0447a98c619bb81e51c3aa748 (patch) | |
tree | 3723ae369cf83c0f94e948af4dc3b7533e4fb187 /Tools | |
parent | eab18f688c1e25332bced8097b98e53a07123fe4 (diff) | |
download | ports-6ebc6a8ffb63a8e0447a98c619bb81e51c3aa748.tar.gz ports-6ebc6a8ffb63a8e0447a98c619bb81e51c3aa748.zip |
Notes
Diffstat (limited to 'Tools')
-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 82d28ed7842a..584db2e8ad86 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -34,6 +34,9 @@ if [ $phase = 1 ]; then mtree -xcn -k uid,gid,mode -p / > /tmp/mtree + #Allow ports to notice they're being run on bento + export PACKAGE_BUILDING=1 + cd $dir || exit 1 pkgname=$(make package-name) echo "================================================================" @@ -81,7 +84,7 @@ else diff -b /tmp/list2 /tmp/list1 | grep '^>' fi - mtree -x -f /tmp/mtree -p / | egrep -v '^(var/tmp|tmp/|var/db/pkg/)' > /tmp/list3 + mtree -x -f /tmp/mtree -p / | egrep -v '^(var/|tmp/|etc/shells.bak$|etc/services|compat$|etc/manpath.config|usr/local/share/nls/POSIX|usr/local/share/nls/en_US.US-ASCII)' > /tmp/list3 cd /var/db/pkg if [ $(echo $(echo * | wc -c)) != 2 ]; then |