aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-10-17 05:05:55 +0800
committerclement <clement@FreeBSD.org>2005-10-17 05:05:55 +0800
commitb5c096f7f8bf3f96de5ff12584c29ebcf398d1dd (patch)
tree25b0c0d83afcacd2b539b89e879e0934fb48f34e /ports-mgmt
parent1e736a84b389258302d516e56da04f40ec23e2e3 (diff)
downloadfreebsd-ports-gnome-b5c096f7f8bf3f96de5ff12584c29ebcf398d1dd.tar.gz
freebsd-ports-gnome-b5c096f7f8bf3f96de5ff12584c29ebcf398d1dd.tar.zst
freebsd-ports-gnome-b5c096f7f8bf3f96de5ff12584c29ebcf398d1dd.zip
- Sync bsd.java.mk with rev 1.67
Reported by: kris
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 \