pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boost-libs boost-libs: unconditionally disable f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c83fd0c95d7
branches:  trunk
changeset: 361974:2c83fd0c95d7
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon May 01 11:54:38 2017 +0000

description:
boost-libs: unconditionally disable fiber

It doesn't build even on netbsd+gcc5.4 (it did in the previous version)
Also helps SmartOS because we're currently not matching SmartOS with this
logic block, although matching GCC versions would do the trick.

Drop comment which isn't specific to fiber

diffstat:

 devel/boost-libs/Makefile |  22 ++++++++++------------
 1 files changed, 10 insertions(+), 12 deletions(-)

diffs (39 lines):

diff -r d16a54b6f1c5 -r 2c83fd0c95d7 devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Mon May 01 10:13:47 2017 +0000
+++ b/devel/boost-libs/Makefile Mon May 01 11:54:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2017/04/29 18:31:42 adam Exp $
+# $NetBSD: Makefile,v 1.55 2017/05/01 11:54:38 maya Exp $
 
 BOOST_PACKAGE=         libs
 BOOST_COMMENT=         (binary libraries)
@@ -31,20 +31,18 @@
 PLIST.log=             yes
 .endif
 
-# fiber requires thread_local support, unavailable in older compilers
-# (old darwin, netbsd <6). if fiber becomes necessary, set GCC_REQD
-# on other boost-* packages, too.
+# XXX boost1.64 fiber not building even on netbsd7.99 + gcc5.4
 # fiber requires context, so also disable it where context cannot be built
 # Additionally fiber checks std::timed_mutex.
-.if ((${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14) || \
-    !empty(MACHINE_PLATFORM:MNetBSD-[0-7]*-*)) || \
-    !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || \
-    !empty(MACHINE_ARCH:Msparc64) || \
-    (${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang))
+#.if ((${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14) || \
+#    !empty(MACHINE_PLATFORM:MNetBSD-[0-7]*-*)) || \
+#    !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || \
+#    !empty(MACHINE_ARCH:Msparc64) || \
+#    (${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang))
 BJAM_ARGS+=            --without-fiber
-.else
-PLIST.fiber=           yes
-.endif
+#.else
+#PLIST.fiber=          yes
+#.endif
 
 UNLIMIT_RESOURCES+=    stacksize
 



Home | Main Index | Thread Index | Old Index