diff options
author | jlam <jlam> | 2004-08-23 16:36:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-08-23 16:36:00 +0000 |
commit | cd348110a16a76c008ebfa07e9bde70355f1cf72 (patch) | |
tree | cf44f8abe0cbd4381c74dad99d82c21723b47658 | |
parent | afd88d01ea00e6de697aaaab41895f75a84c9c7b (diff) | |
download | pkgsrc-cd348110a16a76c008ebfa07e9bde70355f1cf72.tar.gz |
Actually, it's okay if SUBST_FILTER_CMD is empty... the ${SUBST_COOKIE}
target takes care of this case already.
-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 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_} |