From 6a0a25a9007e6fffddf0215cf67d78573c869ce2 Mon Sep 17 00:00:00 2001 From: jschauma Date: Sun, 23 Mar 2003 17:30:39 +0000 Subject: 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. --- mk/java-vm.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3