pkgsrc-Changes archive

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

CVS commit: pkgsrc/meta-pkgs/boost



Module Name:    pkgsrc
Committed By:   mcf
Date:           Fri Oct  2 08:08:26 UTC 2020

Modified Files:
        pkgsrc/meta-pkgs/boost: Makefile.common

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/meta-pkgs/boost/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/meta-pkgs/boost/Makefile.common
diff -u pkgsrc/meta-pkgs/boost/Makefile.common:1.87 pkgsrc/meta-pkgs/boost/Makefile.common:1.88
--- pkgsrc/meta-pkgs/boost/Makefile.common:1.87 Wed May  6 13:33:53 2020
+++ pkgsrc/meta-pkgs/boost/Makefile.common      Fri Oct  2 08:08:25 2020
@@ -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 @@ post-wrapper:
 # 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