diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-23 16:37:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-23 16:37:09 +0000 |
commit | fe4d779a406b36ef3e6e9b2714fdbbe8a99e4945 (patch) | |
tree | 3c3b37aac390764375d25ccb8287918df0121bc6 /mk | |
parent | 8e1b584df6667f63eef8ccf7a84e53ae6ac89318 (diff) | |
download | pkgsrc-fe4d779a406b36ef3e6e9b2714fdbbe8a99e4945.tar.gz |
SUBST_POSTCMD must be globally defined or else it breaks.
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 a934911f69b..fe0ba4f887f 100644 --- a/mk/subst.mk +++ b/mk/subst.mk @@ -1,4 +1,4 @@ -# $NetBSD: subst.mk,v 1.15 2004/08/23 16:36:00 jlam Exp $ +# $NetBSD: subst.mk,v 1.16 2004/08/23 16:37:09 jlam Exp $ # # This Makefile fragment implements a general text replacement facility. # Package makefiles define a ``class'', for each of which a paricular @@ -45,10 +45,10 @@ _SUBST_COOKIE.${_class_}= ${WRKDIR}/.subst_${_class_}_done . if defined(SUBST_SED.${_class_}) && !empty(SUBST_SED.${_class_}) SUBST_FILTER_CMD.${_class_}?= ${SED} ${SUBST_SED.${_class_}} -SUBST_POSTCMD.${_class_}?= ${RM} -f $$file${_SUBST_BACKUP_SUFFIX} . else SUBST_FILTER_CMD.${_class_}?= # empty . endif +SUBST_POSTCMD.${_class_}?= ${RM} -f $$file${_SUBST_BACKUP_SUFFIX} SUBST_TARGETS+= subst-${_class_} _SUBST_TARGETS.${_class_}= subst-${_class_}-message |