summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2004-11-09 02:11:42 +0000
committerHerve Quiroz <hq@FreeBSD.org>2004-11-09 02:11:42 +0000
commitcfffec88cbbaf5af16e73684918268315e1c77eb (patch)
treebfb5aa8b559ce7beffb2296eab414bfb64d8bd04 /Mk
parentRemove aspell configure hack to fix build with the new version of aspell. (diff)
Ports that use USE_ANT will now automatically build with Jikes if available and
not explicitly forbiden. PR: 44432 Suggested by: znerd Approved by: glewis (co-maintainer)
Notes
Notes: svn path=/head/; revision=121164
Diffstat (limited to '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)