From 721c2900a5e6d26855427160e28ddf4ac3f9541e Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Mon, 3 Apr 2006 04:40:39 +0000 Subject: jdk is buildable on amd64, so we need to also mount linprocfs there. --- Tools/portbuild/scripts/buildscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tools') diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript index 436b0e474fb7..b6c4d2d530aa 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -6,7 +6,7 @@ mountprocfs() { arch=$1 - if [ ${arch} = "i386" ]; then + if [ ${arch} = "i386" -o ${arch} = "amd64" ]; then # JDK ports need linprocfs :( mkdir -p /compat/linux/proc mount_linprocfs linprocfs /compat/linux/proc @@ -16,7 +16,7 @@ mountprocfs() { umountprocfs() { arch=$1 - if [ ${arch} = "i386" ]; then + if [ ${arch} = "i386" -o ${arch} = "amd64" ]; then umount -f /compat/linux/proc 2> /dev/null > /dev/null fi } -- cgit v1.2.3