summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-23 16:36:00 +0000
committerjlam <jlam@pkgsrc.org>2004-08-23 16:36:00 +0000
commit8e1b584df6667f63eef8ccf7a84e53ae6ac89318 (patch)
treecf44f8abe0cbd4381c74dad99d82c21723b47658 /mk
parentd53f809009ce3d8a1d8f7f4a7a44c6e4de0db249 (diff)
downloadpkgsrc-8e1b584df6667f63eef8ccf7a84e53ae6ac89318.tar.gz
Actually, it's okay if SUBST_FILTER_CMD is empty... the ${SUBST_COOKIE}
target takes care of this case already.
Diffstat (limited to 'mk')
-rw-r--r--mk/subst.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/subst.mk b/mk/subst.mk
index d5f0bc72b7a..a934911f69b 100644
--- a/mk/subst.mk
+++ b/mk/subst.mk
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.14 2004/08/23 16:35:11 jlam Exp $
+# $NetBSD: subst.mk,v 1.15 2004/08/23 16:36:00 jlam Exp $
#
# This Makefile fragment implements a general text replacement facility.
# Package makefiles define a ``class'', for each of which a paricular
@@ -47,7 +47,7 @@ _SUBST_COOKIE.${_class_}= ${WRKDIR}/.subst_${_class_}_done
SUBST_FILTER_CMD.${_class_}?= ${SED} ${SUBST_SED.${_class_}}
SUBST_POSTCMD.${_class_}?= ${RM} -f $$file${_SUBST_BACKUP_SUFFIX}
. else
-SUBST_FILTER_CMD.${_class_}?= ${CAT}
+SUBST_FILTER_CMD.${_class_}?= # empty
. endif
SUBST_TARGETS+= subst-${_class_}