aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-10-04 15:55:45 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-10-04 15:55:45 +0000
commit0a8d3c6c1399e0f53c68b0c324f29a3ca4eada27 (patch)
tree6ebf7c5f8fb6785bfdb3686ef3b7238a64abf538 /Mk
parentcd1358c1f04ad8a0a6ec7cb4bc27c93aa2fc3f96 (diff)
downloadports-0a8d3c6c1399e0f53c68b0c324f29a3ca4eada27.tar.gz
ports-0a8d3c6c1399e0f53c68b0c324f29a3ca4eada27.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.java.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index e2fecb606dc0..80e070690fb7 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -217,7 +217,11 @@ _JAVA_OS_linux= Linux
# Enforce preferred Java ports according to OS
. if ${OSVERSION} >= 400000
+. 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
. else
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_1
. endif