diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-23 09:01:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-23 09:01:57 +0000 |
commit | 00ff3ff247e233221ec4ff5972de664dd3e9bf1a (patch) | |
tree | f6d4ba6a0956058cdacf4bc9e42dd0804c2cda5a /mk | |
parent | 432457e6a396b5c5ee1262ecf70c211e3619e323 (diff) | |
download | pkgsrc-00ff3ff247e233221ec4ff5972de664dd3e9bf1a.tar.gz |
SUBST_FILTER_CMD can't be empty. It must be a real filter cmd, so default
it to ${CAT} as a fall-through.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/subst.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/subst.mk b/mk/subst.mk index 6531c799a99..605e97c7dc6 100644 --- a/mk/subst.mk +++ b/mk/subst.mk @@ -1,4 +1,4 @@ -# $NetBSD: subst.mk,v 1.12 2004/06/06 04:22:23 schmonz Exp $ +# $NetBSD: subst.mk,v 1.13 2004/08/23 09:01:57 jlam Exp $ # # This Makefile fragment implements a general text replacement facility. # Package makefiles define a ``class'', for each of which a paricular @@ -45,7 +45,7 @@ _SUBST_COOKIE.${_class_}= ${WRKDIR}/.subst_${_class_}_done SUBST_FILTER_CMD.${_class_}?= ${SED} ${SUBST_SED.${_class_}} SUBST_POSTCMD.${_class_}?= ${RM} -f $$file.subst.sav . else -SUBST_FILTER_CMD.${_class_}?= # empty +SUBST_FILTER_CMD.${_class_}?= ${CAT} . endif SUBST_TARGETS+= subst-${_class_} |