diff options
author | kris <kris@FreeBSD.org> | 2004-03-08 01:36:30 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-08 01:36:30 +0000 |
commit | f9ea1e49f22be4309d86ef656839aac863b83d65 (patch) | |
tree | 5137c6d2cb91b09e84003d5f7e139596044c403f /Tools/portbuild | |
parent | 52d92ef7e4ac3cb6e6cf32ac2e43265827e49b2a (diff) | |
download | FreeBSD-ports-f9ea1e49f22be4309d86ef656839aac863b83d65.zip FreeBSD-ports-f9ea1e49f22be4309d86ef656839aac863b83d65.tar.gz |
* Fix 4.x builds with 5.x host systems by copying some additional needed
files into the chroot to support host ps and killall binaries.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/portbuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild index b8d3c5c..e375ada 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 |