aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-04-03 12:40:39 +0800
committerkris <kris@FreeBSD.org>2006-04-03 12:40:39 +0800
commitbce8fe9fe05cf27576678a91d82f4f823b5f7572 (patch)
treeaf3837a55d65bdbd3751c7b42d66da68deebd503 /Tools
parent2b17b9f62c6c632052750112b687b978068a7122 (diff)
downloadfreebsd-ports-gnome-bce8fe9fe05cf27576678a91d82f4f823b5f7572.tar.gz
freebsd-ports-gnome-bce8fe9fe05cf27576678a91d82f4f823b5f7572.tar.zst
freebsd-ports-gnome-bce8fe9fe05cf27576678a91d82f4f823b5f7572.zip
jdk is buildable on amd64, so we need to also mount linprocfs there.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/buildscript4
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
}