diff options
author | jlam <jlam> | 2004-08-13 03:43:23 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-08-13 03:43:23 +0000 |
commit | 5d2914ca2c110435fecb60d805f33b340f1a2b65 (patch) | |
tree | f8a8216391b08b0d20cbbe1632df8ec67339f4c7 | |
parent | 40d15874ae6089b4df0c7ca51ef3b531a31aaa71 (diff) | |
download | pkgsrc-5d2914ca2c110435fecb60d805f33b340f1a2b65.tar.gz |
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.
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index a2d0d559494..0c2b7b566df 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -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_CONTENTS_FILTER.${_pkg_}?= \ 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 |