aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.java.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.java.mk')
-rw-r--r--Mk/bsd.java.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index b54c3644e9aa..a1641a4f8743 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -471,6 +471,9 @@ RUN_DEPENDS+= ${DEPEND_JAVA}
. if defined(USE_ANT)
ANT?= ${LOCALBASE}/bin/ant
MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
+. if defined(HAVE_JIKES)
+MAKE_ARGS+= -Dbuild.compiler=jikes
+. endif
BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant
ALL_TARGET?=
. if !target(do-build)