diff options
author | minskim <minskim@pkgsrc.org> | 2017-11-20 17:17:50 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2017-11-20 17:17:50 +0000 |
commit | 55585a949b9b4a291facd2528f6a9f937544af43 (patch) | |
tree | d14a6353c702cef2bee074ace1fd5c47f25f0258 /mk | |
parent | cfb5f040b99af07c12bfab75b2d1eaa44caaa37a (diff) | |
download | pkgsrc-55585a949b9b4a291facd2528f6a9f937544af43.tar.gz |
Escape whitespace in PKG_JAVA_HOME when setting JAVA_HOME
Diffstat (limited to 'mk')
-rw-r--r-- | mk/java-vm.mk | 4 |
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} |