aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-09-13 04:47:51 +0800
committerkris <kris@FreeBSD.org>2003-09-13 04:47:51 +0800
commit42596cced26efaba8b298e937d88b0982deb0fe8 (patch)
treefd74fbe0a0a7461a3d02362a1b65c81f49ed0c27 /Tools
parenta4b09adb9fd9a8bcab0cbf021b00546f585386e8 (diff)
downloadfreebsd-ports-gnome-42596cced26efaba8b298e937d88b0982deb0fe8.tar.gz
freebsd-ports-gnome-42596cced26efaba8b298e937d88b0982deb0fe8.tar.zst
freebsd-ports-gnome-42596cced26efaba8b298e937d88b0982deb0fe8.zip
Remove some ldconfig -R's that were apparently confusing things, coalesce
some ldconfig -m's into one command, and run buildscript niced in the chroot build case, not just the (currently unused) jailed case.
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