pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Add ${CAT} as the final pipeline command...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd49adc064bf
branches:  trunk
changeset: 479351:bd49adc064bf
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Aug 13 03:43:23 2004 +0000

description:
Add ${CAT} as the final pipeline command to BUILDLINK_FILES_CMD.<pkg> so
that the whole pipeline returns 0.  This avoids subtle breakage when the
we use built-in software and there is actually no list of files passed as
input to the pipeline, and the final egrep returns non-zero.

diffstat:

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

diffs (18 lines):

diff -r 0f85032b4e10 -r bd49adc064bf mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Fri Aug 13 03:22:22 2004 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Fri Aug 13 03:43:23 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.148 2004/08/13 00:48:05 dmcmahill Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.149 2004/08/13 03:43:23 jlam Exp $
 #
 # An example package buildlink3.mk file:
 #
@@ -583,7 +583,7 @@
 BUILDLINK_FILES_CMD.${_pkg_}?=                                         \
        ${_BLNK_PKG_INFO.${_pkg_}} -f ${BUILDLINK_PKGNAME.${_pkg_}} |   \
        ${SED} -n '/File:/s/^[  ]*File:[        ]*//p' |                \
-       ${BUILDLINK_CONTENTS_FILTER.${_pkg_}}
+       ${BUILDLINK_CONTENTS_FILTER.${_pkg_}} | ${CAT}
 
 # _BLNK_FILES_CMD.<pkg> combines BUILDLINK_FILES_CMD.<pkg> and
 # BUILDLINK_FILES.<pkg> into one command that outputs all of the files



Home | Main Index | Thread Index | Old Index