summaryrefslogtreecommitdiff
path: root/mk/subst.mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-01-07 23:27:41 +0000
committerrillig <rillig>2006-01-07 23:27:41 +0000
commit20c2ee78b8a8a87234f89ac1f2f4015fcab16a8b (patch)
tree4fba7f9dc81911b7a3bad00180f4ff3aa7f02243 /mk/subst.mk
parent4600a9ae1c42b17ba30df0b1ea67754bfce37d98 (diff)
downloadpkgsrc-20c2ee78b8a8a87234f89ac1f2f4015fcab16a8b.tar.gz
Added two missing :Q operators. One of them affects how the
SUBST_MESSAGE is printed. The ones that have been defined with "quotes" in their Makefiles are printed with quotes (of course). This is the consequence of the design pattern "quote-exactly-where-necessary", which in fact should be have been applied to pkgsrc as a whole, but still isn't.
Diffstat (limited to 'mk/subst.mk')
-rw-r--r--mk/subst.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/subst.mk b/mk/subst.mk
index 5340382463c..73f9cbfeaa0 100644
--- a/mk/subst.mk
+++ b/mk/subst.mk
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.30 2006/01/07 18:43:05 rillig Exp $
+# $NetBSD: subst.mk,v 1.31 2006/01/07 23:27:41 rillig Exp $
#
# This Makefile fragment implements a general text replacement facility.
# Package makefiles define a ``class'', for each of which a particular
@@ -60,13 +60,13 @@ subst-${_class_}: ${_SUBST_TARGETS.${_class_}}
subst-${_class_}-message:
. if defined(SUBST_MESSAGE.${_class_})
${_PKG_SILENT}${_PKG_DEBUG} \
- ${ECHO_SUBST_MSG} "=> "${SUBST_MESSAGE.${_class_}}
+ ${ECHO_SUBST_MSG} "=> "${SUBST_MESSAGE.${_class_}:Q}
. endif
.PHONY: subst-${_class_}-cookie
subst-${_class_}-cookie:
${_PKG_SILENT}${_PKG_DEBUG} \
- ${TOUCH} ${TOUCH_FLAGS} ${_SUBST_COOKIE.${_class_}}
+ ${TOUCH} ${TOUCH_FLAGS} ${_SUBST_COOKIE.${_class_}:Q}
${_SUBST_COOKIE.${_class_}}:
${_PKG_SILENT}${_PKG_DEBUG} set -e; \