summaryrefslogtreecommitdiff
path: root/mk/java-env.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/java-env.mk')
-rw-r--r--mk/java-env.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/java-env.mk b/mk/java-env.mk
index e4c9e2d59e1..830d28fbbd6 100644
--- a/mk/java-env.mk
+++ b/mk/java-env.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java-env.mk,v 1.9 2007/02/18 16:25:54 tv Exp $
+# $NetBSD: java-env.mk,v 1.10 2007/08/02 18:04:48 jlam Exp $
#
# This Makefile fragment handles Java wrappers and is meant to be included
# by packages that provide a Java build-time and/or run-time environment.
@@ -94,4 +94,7 @@ install-java-wrapper-${w}:
REQD_DIRS+= ${PREFIX}/java
PRINT_PLIST_AWK+= /^@dirrm java$$/ { next; }
+PLIST_SUBST+= JAVA_HOME=${JAVA_HOME:Q}
+FILES_SUBST+= JAVA_HOME=${JAVA_HOME:Q}
+
.endif # JAVA_ENV_MK