aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-24 12:39:02 +0800
committerkris <kris@FreeBSD.org>2003-01-24 12:39:02 +0800
commit6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99 (patch)
treed697edaa2dabe8e9cf339e118cb48d22f7962085 /Tools/portbuild
parent2d4c2350875d634d1e0ca28915bc9030f4ba254f (diff)
downloadfreebsd-ports-gnome-6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99.tar.gz
freebsd-ports-gnome-6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99.tar.zst
freebsd-ports-gnome-6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99.zip
Use pkg_add instead of pkg_add -f
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/buildscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript
index 8f842e1dd534..1a5e90e25f92 100755
--- a/Tools/portbuild/scripts/buildscript
+++ b/Tools/portbuild/scripts/buildscript
@@ -17,13 +17,13 @@ if [ $phase = 1 ]; then
if [ "$(echo $(/bin/ls | wc -c))" != 0 ]; then
echo "adding dependencies"
for i in *.t[bg]z; do
- echo "pkg_add -f $i"
+ echo "pkg_add $i"
base=$(basename $i .tgz)
base=$(basename $base .tbz)
if pkg_info -q -e $base; then
echo "skipping $base, already added"
else
- if ! pkg_add -f $i; then
+ if ! pkg_add $i; then
echo "error in dependency $i, exiting"
echo "1" > /tmp/status
exit 1
@@ -60,7 +60,7 @@ else
DISPLAY=:${pid}
export DISPLAY
fi
-
+
cd $dir || exit 1
pkgname=$(make package-name)
if /pnohang $TIMEOUT /tmp/make.log2 ${pkgname} make package; then