pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost boost: use more portable invocation of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd94f993edb5
branches:  trunk
changeset: 440046:dd94f993edb5
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Fri Oct 02 08:08:25 2020 +0000

description:
boost: use more portable invocation of find(1)

The find -print0 and xargs -0 options are not supported by all
implementations. Instead, use the POSIX equivalent syntax
`find -exec ... {} +`, which is already in use by several of the
boost packages (boost-build, boost-docs, and boost-headers).

diffstat:

 meta-pkgs/boost/Makefile.common |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f5c0847bef37 -r dd94f993edb5 meta-pkgs/boost/Makefile.common
--- a/meta-pkgs/boost/Makefile.common   Fri Oct 02 08:08:07 2020 +0000
+++ b/meta-pkgs/boost/Makefile.common   Fri Oct 02 08:08:25 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.87 2020/05/06 13:33:53 adam Exp $
+# $NetBSD: Makefile.common,v 1.88 2020/10/02 08:08:25 mcf Exp $
 #
 # used by devel/boost-build/Makefile
 # used by devel/boost-docs/Makefile
@@ -83,7 +83,7 @@
 # We can't do this at post-extract because the extract cookie will get a future
 # timestamp than the sources.  If this happens, print-PLIST does not work.
 pre-configure:
-       ${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${TOUCH}
+       ${FIND} ${WRKSRC} -type f -exec ${TOUCH} {} +
 
 # According to https://github.com/boostorg/config/issues/240
 # the user.hpp generation is intended only for porting to new platforms



Home | Main Index | Thread Index | Old Index