pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/boost-libs Handle lack of thread_local support i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b028eb89b533
branches: trunk
changeset: 354508:b028eb89b533
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Nov 01 12:32:01 2016 +0000
description:
Handle lack of thread_local support in older Darwin clang.
diffstat:
devel/boost-libs/Makefile | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r ac47f3ee62e7 -r b028eb89b533 devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Tue Nov 01 08:20:36 2016 +0000
+++ b/devel/boost-libs/Makefile Tue Nov 01 12:32:01 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2016/06/15 18:29:59 rumko Exp $
+# $NetBSD: Makefile,v 1.45 2016/11/01 12:32:01 jperkin Exp $
BOOST_PACKAGE= libs
BOOST_COMMENT= (binary libraries)
@@ -10,7 +10,7 @@
INSTALLATION_DIRS+= lib
BJAM_ARGS+= --without-python
-PLIST_VARS+= context log long_double_math
+PLIST_VARS+= context fiber log long_double_math
.if ${OPSYS} == "NetBSD" && ((${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc64") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc)))
BJAM_ARGS+= pch=off
@@ -29,6 +29,13 @@
PLIST.log= yes
.endif
+# fiber requires thread_local support, unavailable in older Darwin clang
+.if ${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14
+BJAM_ARGS+= --without-fiber
+.else
+PLIST.fiber= yes
+.endif
+
# Long double math functions are not available on Darwin. See
# boost/math/tools/config.hpp:53
.if ${OPSYS} != "NetBSD" && ${OPSYS} != "FreeBSD" && \
Home |
Main Index |
Thread Index |
Old Index