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:   leot
Date:           Sun Sep  2 12:53:36 UTC 2018

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

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 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.76 pkgsrc/meta-pkgs/boost/Makefile.common:1.77
--- pkgsrc/meta-pkgs/boost/Makefile.common:1.76 Sat Sep  1 21:21:46 2018
+++ pkgsrc/meta-pkgs/boost/Makefile.common      Sun Sep  2 12:53:36 2018
@@ -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.



Home | Main Index | Thread Index | Old Index