aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-10-16 21:05:55 +0000
committerClement Laforet <clement@FreeBSD.org>2005-10-16 21:05:55 +0000
commit6ba32c412d5c1ac0f9a05f43e1d1f63bd70262c2 (patch)
tree9a8dbe7bb289bc30e07e4566416b808405413bb5 /ports-mgmt
parent0ded642a824e38cbed3abba17a3e92752c65535a (diff)
downloadports-6ba32c412d5c1ac0f9a05f43e1d1f63bd70262c2.tar.gz
ports-6ba32c412d5c1ac0f9a05f43e1d1f63bd70262c2.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmk/Mk/bsd.java.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.java.mk b/ports-mgmt/portmk/Mk/bsd.java.mk
index e79f6ca67f65..a82a744de9e5 100644
--- a/ports-mgmt/portmk/Mk/bsd.java.mk
+++ b/ports-mgmt/portmk/Mk/bsd.java.mk
@@ -216,7 +216,11 @@ _JAVA_OS_native= Native
_JAVA_OS_linux= Linux
# Enforce preferred Java ports according to OS
+. if ${ARCH} == "amd64"
+_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5
+. else
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4
+. endif
# List all JDK ports
__JAVA_PORTS_ALL= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5 \