pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/buildlink3
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Nov 24 13:56:14 UTC 2022
Modified Files:
pkgsrc/mk/buildlink3: bsd.buildlink3.mk
Log Message:
mk: Switch previous to use "|| ${TRUE}" instead.
The intent here is to simply ensure that the filter pipeline returns true,
and there's no need to fork an external process to do that.
To generate a diff of this commit:
cvs rdiff -u -r1.254 -r1.255 pkgsrc/mk/buildlink3/bsd.buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/buildlink3/bsd.buildlink3.mk
diff -u pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.254 pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.255
--- pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.254 Thu Nov 24 13:21:22 2022
+++ pkgsrc/mk/buildlink3/bsd.buildlink3.mk Thu Nov 24 13:56:14 2022
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.254 2022/11/24 13:21:22 ryoon Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.255 2022/11/24 13:56:14 jperkin Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -637,7 +637,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_}} | ${CAT}
+ ${BUILDLINK_CONTENTS_FILTER.${_pkg_}} || ${TRUE}
# _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