pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Escape whitespace in PKG_JAVA_HOME when setting JAV...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b40e859527e
branches:  trunk
changeset: 371754:8b40e859527e
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Nov 20 17:17:50 2017 +0000

description:
Escape whitespace in PKG_JAVA_HOME when setting JAVA_HOME

diffstat:

 mk/java-vm.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c8e135715e48 -r 8b40e859527e mk/java-vm.mk
--- a/mk/java-vm.mk     Mon Nov 20 17:11:12 2017 +0000
+++ b/mk/java-vm.mk     Mon Nov 20 17:17:50 2017 +0000
@@ -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 @@
 .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}



Home | Main Index | Thread Index | Old Index