diff options
author | jschauma <jschauma> | 2003-03-23 17:30:39 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-03-23 17:30:39 +0000 |
commit | 6a0a25a9007e6fffddf0215cf67d78573c869ce2 (patch) | |
tree | 4dd13a36f06c1c07dac07db1ebf6b9871972300e | |
parent | 5a71f8da1f75ff6cfa935581bedf8f588c610b0a (diff) | |
download | pkgsrc-6a0a25a9007e6fffddf0215cf67d78573c869ce2.tar.gz |
If a package requires a certain JVM, use that JVM for all dependencies
as well to avoid pulling in an additional, possibly unwanted JVM should
one of the dependencies require any JVM.
-rw-r--r-- | mk/java-vm.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/java-vm.mk b/mk/java-vm.mk index 9ef7ec5782e..c6e1e75f904 100644 --- a/mk/java-vm.mk +++ b/mk/java-vm.mk @@ -1,4 +1,4 @@ -# $NetBSD: java-vm.mk,v 1.11 2003/02/07 01:14:19 dmcmahill Exp $ +# $NetBSD: java-vm.mk,v 1.12 2003/03/23 17:30:39 jschauma Exp $ # # This Makefile fragment handles Java dependencies and make variables, # and is meant to be included by packages that require Java either at @@ -270,6 +270,7 @@ PKG_JAVA_HOME?= ${_JAVA_HOME} .endif BUILD_DEFS+= PKG_JVM PKG_JAVA_HOME PATH:= ${PKG_JAVA_HOME}/bin:${PATH} +MAKEFLAGS+= PKG_JVM=${PKG_JVM} MAKE_ENV+= JAVA_HOME=${PKG_JAVA_HOME} CONFIGURE_ENV+= JAVA_HOME=${PKG_JAVA_HOME} |