summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-11-04 21:56:49 +0000
committerrillig <rillig>2006-11-04 21:56:49 +0000
commit52bb458b887aa3cf753b71182c21c1b6dbfed574 (patch)
treeb50d74f424aa364365963daaa473b042764cabe6 /mk
parent749119668610826f7884727dd7feed7438c7e550 (diff)
downloadpkgsrc-52bb458b887aa3cf753b71182c21c1b6dbfed574.tar.gz
Since PKG_JVM is not user-settable, it must not be added to BUILD_DEFS.
For that purpose, BUILD_DEFS_EFFECTS has just been introduced.
Diffstat (limited to 'mk')
-rw-r--r--mk/java-vm.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/java-vm.mk b/mk/java-vm.mk
index 8ff2a739ea6..e955525cd73 100644
--- a/mk/java-vm.mk
+++ b/mk/java-vm.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java-vm.mk,v 1.49 2006/11/04 21:22:30 rillig Exp $
+# $NetBSD: java-vm.mk,v 1.50 2006/11/04 21:56:49 rillig Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
@@ -331,7 +331,8 @@ CLASSPATH?= ${CLASSPATH_cmd:sh}
ALL_ENV+= CLASSPATH=${CLASSPATH:Q}
ALL_ENV+= JAVA_HOME=${PKG_JAVA_HOME}
-BUILD_DEFS+= PKG_JVM PKG_JAVA_HOME
+BUILD_DEFS+= PKG_JVM_DEFAULT
+BUILD_DEFS_EFFECTS+= PKG_JVM PKG_JAVA_HOME
MAKEFLAGS+= PKG_JVM=${PKG_JVM:Q}
PREPEND_PATH+= ${PKG_JAVA_HOME}/bin