pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk The value of PKG_OPTIONS_VAR is printed as is in an...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0c3dedb3e106
branches: trunk
changeset: 519322:0c3dedb3e106
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Oct 01 14:51:03 2006 +0000
description:
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:
mk/bsd.options.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 2569e7a392c0 -r 0c3dedb3e106 mk/bsd.options.mk
--- a/mk/bsd.options.mk Sun Oct 01 14:48:39 2006 +0000
+++ b/mk/bsd.options.mk Sun Oct 01 14:51:03 2006 +0000
@@ -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 @@
#
# 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 @@
. 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}
Home |
Main Index |
Thread Index |
Old Index