summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2017-11-20 17:17:50 +0000
committerminskim <minskim@pkgsrc.org>2017-11-20 17:17:50 +0000
commit55585a949b9b4a291facd2528f6a9f937544af43 (patch)
treed14a6353c702cef2bee074ace1fd5c47f25f0258 /mk
parentcfb5f040b99af07c12bfab75b2d1eaa44caaa37a (diff)
downloadpkgsrc-55585a949b9b4a291facd2528f6a9f937544af43.tar.gz
Escape whitespace in PKG_JAVA_HOME when setting JAVA_HOME
Diffstat (limited to 'mk')
-rw-r--r--mk/java-vm.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/java-vm.mk b/mk/java-vm.mk
index 1b951550924..32f2ecd2c13 100644
--- a/mk/java-vm.mk
+++ b/mk/java-vm.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java-vm.mk,v 1.110 2017/06/20 11:59:20 jperkin Exp $
+# $NetBSD: java-vm.mk,v 1.111 2017/11/20 17:17:50 minskim Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
@@ -342,7 +342,7 @@ CLASSPATH?= ${CLASSPATH_cmd:sh}
.endif
ALL_ENV+= CLASSPATH=${CLASSPATH:Q}
-ALL_ENV+= JAVA_HOME=${PKG_JAVA_HOME}
+ALL_ENV+= JAVA_HOME=${PKG_JAVA_HOME:Q}
BUILD_DEFS+= ${_USER_VARS.java}
BUILD_DEFS_EFFECTS+= ${_SYS_VARS.java}
MAKEFLAGS+= PKG_JVM=${PKG_JVM:Q}