aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-08 01:23:20 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-08 01:23:20 +0000
commit6ebc6a8ffb63a8e0447a98c619bb81e51c3aa748 (patch)
tree3723ae369cf83c0f94e948af4dc3b7533e4fb187 /Tools
parenteab18f688c1e25332bced8097b98e53a07123fe4 (diff)
downloadports-6ebc6a8ffb63a8e0447a98c619bb81e51c3aa748.tar.gz
ports-6ebc6a8ffb63a8e0447a98c619bb81e51c3aa748.zip
Notes
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 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