summaryrefslogtreecommitdiff
path: root/devel/boost-libs
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2016-12-18 22:08:07 +0000
committertnn <tnn@pkgsrc.org>2016-12-18 22:08:07 +0000
commit00780f8f32220d0bcb3cf90c0a3bfb2da7d0af76 (patch)
treea60680f25faa6b5c373cf847f4437f9dd18e9a84 /devel/boost-libs
parent08bc9ddf041a5f78d8a31d2143047d8063477175 (diff)
downloadpkgsrc-00780f8f32220d0bcb3cf90c0a3bfb2da7d0af76.tar.gz
also disable fiber when using clang on NetBSD due to lack of thread_local
Diffstat (limited to 'devel/boost-libs')
-rw-r--r--devel/boost-libs/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index eab02be3680..ab56dab2ddf 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2016/12/04 05:17:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.49 2016/12/18 22:08:07 tnn Exp $
BOOST_PACKAGE= libs
BOOST_COMMENT= (binary libraries)
@@ -38,7 +38,9 @@ PLIST.log= yes
# fiber requires context, so also disable it where context cannot be built
.if ((${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14) || \
!empty(MACHINE_PLATFORM:MNetBSD-[0-6]*-*)) || \
- !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || !empty(MACHINE_ARCH:Msparc64)
+ !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