aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild/scripts
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-08 09:23:20 +0800
committerkris <kris@FreeBSD.org>2004-03-08 09:23:20 +0800
commitb982b07eb093cee2a31e0937ddc1a2708e6304e9 (patch)
tree06f6db584a1a83a45c0e5fd1591401f3a3ddd265 /Tools/portbuild/scripts
parentae8566c664f34d35517bd3a26e7aae9f03f7182c (diff)
downloadfreebsd-ports-graphics-b982b07eb093cee2a31e0937ddc1a2708e6304e9.tar.gz
freebsd-ports-graphics-b982b07eb093cee2a31e0937ddc1a2708e6304e9.tar.zst
freebsd-ports-graphics-b982b07eb093cee2a31e0937ddc1a2708e6304e9.zip
* Set the PACKAGE_BUILDING variable in the build environment so ports can
detect they are being built on bento * Update the list of "extra files" to filter to reduce some false positives
Diffstat (limited to 'Tools/portbuild/scripts')
-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 82d28ed7842..584db2e8ad8 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