diff options
author | kris <kris@FreeBSD.org> | 2002-09-16 05:57:05 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-16 05:57:05 +0800 |
commit | 19f74c6c9d9aa29548b642550693a20c70b301f0 (patch) | |
tree | d7672479b01759e5e7a5e4b71106306ef4f37705 /Tools | |
parent | e5fd7cc0fa372a13024a80a29d20695f6e4c8379 (diff) | |
download | freebsd-ports-graphics-19f74c6c9d9aa29548b642550693a20c70b301f0.tar.gz freebsd-ports-graphics-19f74c6c9d9aa29548b642550693a20c70b301f0.tar.zst freebsd-ports-graphics-19f74c6c9d9aa29548b642550693a20c70b301f0.zip |
Add PKG_PATH so packages can be found automatically (not sure what caused
this to break). Support both .tgz and .tbz packages.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript index c1d0ada3290..8f842e1dd53 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -13,11 +13,13 @@ if [ $phase = 1 ]; then echo "build started at $(date)" cd /tmp/depends + export PKG_PATH=/tmp/depends if [ "$(echo $(/bin/ls | wc -c))" != 0 ]; then echo "adding dependencies" - for i in *.tgz; do + for i in *.t[bg]z; do echo "pkg_add -f $i" base=$(basename $i .tgz) + base=$(basename $base .tbz) if pkg_info -q -e $base; then echo "skipping $base, already added" else |