summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-01 14:51:03 +0000
committerrillig <rillig@pkgsrc.org>2006-10-01 14:51:03 +0000
commit62390231d2c57d3d2eefc108ddae83442e6ccda5 (patch)
tree1fe3ecde3f999177aefd5f00bd1fbdec8f777b15 /mk
parent4dfe9b94c7f2d505956dc42488f7f0b24880675f (diff)
downloadpkgsrc-62390231d2c57d3d2eefc108ddae83442e6ccda5.tar.gz
The value of PKG_OPTIONS_VAR is printed as is in an error message. This
makes "double quotes" visible when they are accidentally included by the pkgsrc user.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.options.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk
index a8c8abe23d6..8b8195581fe 100644
--- a/mk/bsd.options.mk
+++ b/mk/bsd.options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.57 2006/09/25 08:23:59 ghen Exp $
+# $NetBSD: bsd.options.mk,v 1.58 2006/10/01 14:51:03 rillig Exp $
#
# This Makefile fragment provides boilerplate code for standard naming
# conventions for handling per-package build options.
@@ -247,6 +247,7 @@ _OPTIONS_DEFAULT_SUPPORTED:=${_OPTIONS_DEFAULT_SUPPORTED} ${_opt_}
#
# process options from generic to specific
#
+
PKG_OPTIONS:= # empty
_OPTIONS_UNSUPPORTED:= #empty
.for _o_ in ${PKG_SUGGESTED_OPTIONS} ${PKG_LEGACY_OPTIONS} \
@@ -407,7 +408,7 @@ supported-options-message:
. if !defined(${PKG_OPTIONS_VAR})
@${ECHO} " ${PKG_OPTIONS_VAR} (not defined)"
. else
- @${ECHO} " ${PKG_OPTIONS_VAR} = ${${PKG_OPTIONS_VAR}}"
+ @${ECHO} " ${PKG_OPTIONS_VAR} = "${${PKG_OPTIONS_VAR}:Q}
. endif
. if defined(PKG_OPTIONS_DEPRECATED_WARNINGS)
@${ECHO}