From 7e14c44aca9423c26bb0f31cef36ea255538f01f Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Thu, 3 Nov 2005 17:37:49 +0000 Subject: 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) --- Mk/bsd.java.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Mk') 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:: -- cgit