aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.java.mk
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2007-08-06 05:19:47 +0800
committerglewis <glewis@FreeBSD.org>2007-08-06 05:19:47 +0800
commite2b0f90f828aa1ffd709a2962406487f218c7027 (patch)
tree0b8601b7c01c18f792aa8343367a77051bd0a2a4 /Mk/bsd.java.mk
parente01e76c9a7e03252f7012b2375aa7181447c6c7c (diff)
downloadfreebsd-ports-gnome-e2b0f90f828aa1ffd709a2962406487f218c7027.tar.gz
freebsd-ports-gnome-e2b0f90f828aa1ffd709a2962406487f218c7027.tar.zst
freebsd-ports-gnome-e2b0f90f828aa1ffd709a2962406487f218c7027.zip
. Enforce NO_JIKES when 1.6 is required as well.
Diffstat (limited to 'Mk/bsd.java.mk')
-rw-r--r--Mk/bsd.java.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index 88c153df15a9..1dc1d116ebc5 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -394,9 +394,10 @@ JAVA_PORT_OS_DESCRIPTION:= ${JAVA_PORT_OS:S/^/\${_JAVA_OS_/:S/$/}/}
. undef HAVE_JIKES
-# Enforce USE_JIKES=NO if not defined and using Java 1.5
+# Enforce USE_JIKES=NO if not defined and using Java 1.5+
# XXX: This is a temporary fix to be removed when Jikes supports Java 1.5
-. if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.5"
+. if (${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.5") || \
+ (${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.6")
USE_JIKES?= NO
. endif
# First test if USE_JIKES has a valid value