diff options
author | jlam <jlam> | 2004-08-13 03:43:23 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-08-13 03:43:23 +0000 |
commit | 41a6f45bc9ce8e65e06ed05ac430ce9bb2bbc704 (patch) | |
tree | f8a8216391b08b0d20cbbe1632df8ec67339f4c7 /mk/buildlink3 | |
parent | ef7046fdab0355d57afd62393ea1e6dcc6138a3b (diff) | |
download | pkgsrc-41a6f45bc9ce8e65e06ed05ac430ce9bb2bbc704.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.
Diffstat (limited to 'mk/buildlink3')
-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 |