diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2006-04-03 04:40:39 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2006-04-03 04:40:39 +0000 |
commit | 721c2900a5e6d26855427160e28ddf4ac3f9541e (patch) | |
tree | b7abdf1d021260922260b344aece048d8dff8288 /Tools | |
parent | 6b9fc3cfd17cb05fa6a4526d832ebf3bfdc79d76 (diff) | |
download | ports-721c2900a5e6d26855427160e28ddf4ac3f9541e.tar.gz ports-721c2900a5e6d26855427160e28ddf4ac3f9541e.zip |
jdk is buildable on amd64, so we need to also mount linprocfs there.
Notes
Notes:
svn path=/head/; revision=158695
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |