diff options
author | rillig <rillig> | 2006-10-01 14:51:03 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-10-01 14:51:03 +0000 |
commit | 431e6ab07b45ba4cbe8e724d7bcfc49a2a131f73 (patch) | |
tree | 1fe3ecde3f999177aefd5f00bd1fbdec8f777b15 /mk | |
parent | b20b56c70ed2fa1ad3fa579995f5cbe1976991ca (diff) | |
download | pkgsrc-431e6ab07b45ba4cbe8e724d7bcfc49a2a131f73.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.mk | 5 |
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} |