pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk SUBST_FILTER_CMD can't be empty. It must be a real...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/837bd34532a7
branches:  trunk
changeset: 479821:837bd34532a7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Aug 23 09:01:57 2004 +0000

description:
SUBST_FILTER_CMD can't be empty.  It must be a real filter cmd, so default
it to ${CAT} as a fall-through.

diffstat:

 mk/subst.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b375bec9d2bc -r 837bd34532a7 mk/subst.mk
--- a/mk/subst.mk       Mon Aug 23 05:36:08 2004 +0000
+++ b/mk/subst.mk       Mon Aug 23 09:01:57 2004 +0000
@@ -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_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_}



Home | Main Index | Thread Index | Old Index