aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-09-12 20:47:51 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-09-12 20:47:51 +0000
commit7052589b038eca1e85c37f51c81ffa9966d79fc2 (patch)
tree125be9111e16867fc9f2c8aafbc26b216e8a49a3 /Tools
parent7bc2b195853f2aa1e9622346a7fc8a1c3efb36cc (diff)
downloadports-7052589b038eca1e85c37f51c81ffa9966d79fc2.tar.gz
ports-7052589b038eca1e85c37f51c81ffa9966d79fc2.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/portbuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild
index 677d76e88909..25a40227cecd 100755
--- a/Tools/portbuild/scripts/portbuild
+++ b/Tools/portbuild/scripts/portbuild
@@ -222,12 +222,9 @@ else
>/dev/null 2>&1
fi
-chroot ${chroot} /sbin/ldconfig -m /usr/lib/compat
-chroot ${chroot} /sbin/ldconfig -R
+chroot ${chroot} /sbin/ldconfig -m /usr/lib /usr/lib/compat
if [ ${arch} = "i386" ]; then
- chroot ${chroot} /sbin/ldconfig -aout -m /usr/lib/aout
- chroot ${chroot} /sbin/ldconfig -aout -m /usr/lib/compat/aout
- chroot ${chroot} /sbin/ldconfig -aout -R
+ chroot ${chroot} /sbin/ldconfig -aout -m /usr/lib/aout /usr/lib/compat/aout
fi
while [ $# -gt 0 ]; do
@@ -269,7 +266,7 @@ if [ "${error}" = 0 ]; then
# ifconfig lo0 alias 10.${ip1}.${ip2}.${ip3}/32
# jail ${chroot} jail-${chroot} 10.${ip1}.${ip2}.${ip3} /usr/bin/nice -n $nice /buildscript ${dirname} 2 > ${chroot}/tmp/${pkgname}.log2 2>&1
# ifconfig lo0 delete 10.${ip1}.${ip2}.${ip3}
- chroot ${chroot} /buildscript ${dirname} 2 > ${chroot}/tmp/${pkgname}.log2 2>&1
+ chroot ${chroot} /usr/bin/nice -n $nice /buildscript ${dirname} 2 > ${chroot}/tmp/${pkgname}.log2 2>&1
grep pnohang ${chroot}/tmp/${pkgname}.log2
cat ${chroot}/tmp/${pkgname}.log2 >> ${chroot}/tmp/${pkgname}.log