aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-08 01:36:30 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-08 01:36:30 +0000
commit3d97e9437e012a545ef0f87c4e949b3754b39e82 (patch)
tree09ca57a070c1123e47a5589e28d8507fffc054dd /Tools
parent5231db7af02cad1d311345a78ff4a4f2d01663d0 (diff)
downloadports-3d97e9437e012a545ef0f87c4e949b3754b39e82.tar.gz
ports-3d97e9437e012a545ef0f87c4e949b3754b39e82.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/portbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild
index b8d3c5cd4d00..e375ada286e8 100755
--- a/Tools/portbuild/scripts/portbuild
+++ b/Tools/portbuild/scripts/portbuild
@@ -163,6 +163,12 @@ if [ ${found} != 1 ]; then
tar -C ${chroot} -xpf ${bindist}
# to be able to run ps and killall inside chroot area
+ if [ "${branch}" = "4" -o "${branch}" = "4-exp" ]; then
+ mkdir -p ${chroot}/libexec
+ mkdir -p ${chroot}/lib
+ cp -p /libexec/ld-elf.so.1 ${chroot}/libexec
+ cp -p /lib/libc.so.5 /lib/libkvm.so.2 /lib/libm.so.2 ${chroot}/lib
+ fi
cp -p /bin/ps ${chroot}/bin
cp -p /usr/bin/killall ${chroot}/usr/bin
fi