summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-11-03 17:37:49 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-11-03 17:37:49 +0000
commit7e14c44aca9423c26bb0f31cef36ea255538f01f (patch)
treee76d377c30c1d901cfd5a47767b24d4bb9ea369c
parent- Update to 1.2.4 (diff)
Disable the use of Jikes when using Java 1.5 because the current stable version
of Jikes not does support all of Java 1.5 extensions. Porters may still enforce the use of Jikes with Java 1.5 by explicitely setting: USE_JIKES= yes This fix is a temporary one and is bound to be removed whenever Java 1.5 gets fully supported in Jikes. Reported by: lawrance Approved by: glewis (co-maintainer)
Notes
Notes: svn path=/head/; revision=147145
-rw-r--r--Mk/bsd.java.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index 80e070690fb7..25997a76eef1 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -447,6 +447,11 @@ 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
+# 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"
+USE_JIKES?= NO
+. endif
# First test if USE_JIKES has a valid value
. if defined(USE_JIKES) && !(${USE_JIKES:U} == "YES") && !(${USE_JIKES:U} == "NO")
check-makevars::