diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-06-06 20:58:52 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-06-06 20:58:52 +0000 |
commit | 759c4f8b141ff0913381f70e8bcdd805268f7100 (patch) | |
tree | d16c6f110850460744acbbfaf91d0f03ba132255 /Tools | |
parent | 79fb8478c241a1582dd1a854fdd7c468661e8c78 (diff) | |
download | ports-759c4f8b141ff0913381f70e8bcdd805268f7100.tar.gz ports-759c4f8b141ff0913381f70e8bcdd805268f7100.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/portbuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild index 1950732cfe73..e379b368617e 100755 --- a/Tools/portbuild/scripts/portbuild +++ b/Tools/portbuild/scripts/portbuild @@ -102,7 +102,7 @@ ulimit -f 524288 ulimit -t 3600 # directories to clean -cleandirs="/usr/local /usr/X11R6 /compat" +cleandirs="/usr/local /usr/X11R6 /compat /var/db/pkg" # 15 minutes export FTP_TIMEOUT=900 @@ -208,6 +208,14 @@ if [ ${arch} = "i386" ]; then chroot ${chroot} /sbin/ldconfig -aout -R fi +# Install packages +for i in ${chroot}/packages/*.tgz; do + chroot ${chroot} pkg_add /packages/`basename $i` +done + +# Don't record packages which will interfere with building versions of the +# packages we just installed. +rm -rf ${chroot}/var/db/pkg/* while [ $# -gt 0 ]; do if [ -f ${packages}/All/$1 ]; then |