summaryrefslogtreecommitdiff
path: root/mk/subst.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-01-07 23:27:41 +0000
committerrillig <rillig@pkgsrc.org>2006-01-07 23:27:41 +0000
commit1f20649016778e2bdeb3885c7e461b0238fd9d76 (patch)
tree4fba7f9dc81911b7a3bad00180f4ff3aa7f02243 /mk/subst.mk
parent1c209076cead80c7c7087e3186866a3c54c17d0b (diff)
downloadpkgsrc-1f20649016778e2bdeb3885c7e461b0238fd9d76.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; \