pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/boost-libs



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Nov  1 12:32:01 UTC 2016

Modified Files:
        pkgsrc/devel/boost-libs: Makefile

Log Message:
Handle lack of thread_local support in older Darwin clang.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/boost-libs/Makefile

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

Modified files:

Index: pkgsrc/devel/boost-libs/Makefile
diff -u pkgsrc/devel/boost-libs/Makefile:1.44 pkgsrc/devel/boost-libs/Makefile:1.45
--- pkgsrc/devel/boost-libs/Makefile:1.44       Wed Jun 15 18:29:59 2016
+++ pkgsrc/devel/boost-libs/Makefile    Tue Nov  1 12:32:01 2016
@@ -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 @@ BOOST_INSTALL_LIBS=   yes
 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 @@ BJAM_ARGS+=          --without-log
 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