aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-04-27 08:18:53 +0800
committerznerd <znerd@FreeBSD.org>2002-04-27 08:18:53 +0800
commit790a56974fde1b55b74f085722bbc9ecf1139c99 (patch)
treed61a07790501b6678cadf3c65f018ae4f6b276e2
parentff9e0993c86654b8d292bc76c73716451ec990ec (diff)
downloadfreebsd-ports-gnome-790a56974fde1b55b74f085722bbc9ecf1139c99.tar.gz
freebsd-ports-gnome-790a56974fde1b55b74f085722bbc9ecf1139c99.tar.zst
freebsd-ports-gnome-790a56974fde1b55b74f085722bbc9ecf1139c99.zip
Introduction of NEED_JAVAC knob in bsd.java.mk, stage 3.
NEED_JAVAC now actually defaults to NO. Tested with: net/spread lang/kawa java/jdom
-rw-r--r--Mk/bsd.java.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index e12855961f0a..bae107ff8675 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -291,7 +291,7 @@ JAVA_PORT= ${_JAVA_PORT_SUN_LINUX_1_4}
# The default value for NEED_JAVAC is temporarily (!) YES
# This will change as soon as the affecting ports have NEED_JAVAC=YES
. if !defined(NEED_JAVAC)
-NEED_JAVAC= YES
+NEED_JAVAC= NO
. endif
. if (${NEED_JAVAC} == "YES") || (${NEED_JAVAC} == "yes")
@@ -344,7 +344,7 @@ JAVA_CLASSES= ${JAVA_HOME}/jre/lib/rt.jar
# Stage 6: Add any dependencies if necessary
# Possibly add Jikes to the dependencies
-. if ${JAVAC} == ${_JIKES_PATH}
+. if defined(JAVAC) && (${JAVAC} == ${_JIKES_PATH})
. if !defined(NO_BUILD_DEPENDS_JAVA)
BUILD_DEPENDS+= ${_DEPEND_JIKES}
. endif