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)
This commit is contained in:
Herve Quiroz 2005-11-03 17:37:49 +00:00
parent e85323849d
commit 7e14c44aca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147145

View File

@ -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::