aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.java.mk
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2004-11-09 10:11:42 +0800
committerhq <hq@FreeBSD.org>2004-11-09 10:11:42 +0800
commit704ce64df679ef03379ca4bab6da0242dfe38d16 (patch)
tree92a44d13a0acb59156f96d2be74626c1ff11b027 /Mk/bsd.java.mk
parent3ca6f01354d8afd267a2ff6d2c8bedbb1037d9e6 (diff)
downloadfreebsd-ports-gnome-704ce64df679ef03379ca4bab6da0242dfe38d16.tar.gz
freebsd-ports-gnome-704ce64df679ef03379ca4bab6da0242dfe38d16.tar.zst
freebsd-ports-gnome-704ce64df679ef03379ca4bab6da0242dfe38d16.zip
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)
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)