summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-09-02 12:53:36 +0000
committerleot <leot@pkgsrc.org>2018-09-02 12:53:36 +0000
commitd4a727a279e0692b4f7be1c89b18a7463b2db244 (patch)
treeddc82b9fd20df50358b5e2e2d6a1db14dbe10ded /meta-pkgs/boost
parent9d6eda459ce045b1065db4a668f4452f3720b530 (diff)
downloadpkgsrc-d4a727a279e0692b4f7be1c89b18a7463b2db244.tar.gz
boost: Use XARGS instead of -exec of FIND to properly address PR pkg/53543
This should properly fix PR pkg/53543 (also remove the big `XXX' comment, this is a proper solution to the problem). Thanks to <joerg> for suggesting that!
Diffstat (limited to 'meta-pkgs/boost')
-rw-r--r--meta-pkgs/boost/Makefile.common8
1 files changed, 2 insertions, 6 deletions
diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common
index 9edbc89f8c7..5b583eda2fe 100644
--- a/meta-pkgs/boost/Makefile.common
+++ b/meta-pkgs/boost/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.76 2018/09/01 21:21:46 leot Exp $
+# $NetBSD: Makefile.common,v 1.77 2018/09/02 12:53:36 leot Exp $
#
# used by devel/boost-build/Makefile
# used by devel/boost-docs/Makefile
@@ -88,12 +88,8 @@ 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.
-#
-# XXX: As pointed out by PR pkg/53543 using `+' in ${FIND} can lead to
-# XXX: `Argument list too long' errors when building devel/boost-libs.
-# XXX: As a workaround use `\;' instead.
pre-configure:
- ${FIND} ${WRKSRC} -type f -exec ${TOUCH} {} \;
+ ${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH}
# Generate a new user.hpp or use the installed one, depending on the package
# we are building.