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: don't include fiber PLIST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fce42e75b357
branches:  trunk
changeset: 354607:fce42e75b357
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Nov 04 13:45:31 2016 +0000

description:
boost-libs: don't include fiber PLIST on NetBSD 6 as well

As an alternative, it's possible to require a higher GCC version,
note that it's necessary to require a higher GCC on other boost-*
packages (probably boost-headers).

fix build on netbsd 6.1.5

diffstat:

 devel/boost-libs/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 66ea3c0972b2 -r fce42e75b357 devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Fri Nov 04 12:58:29 2016 +0000
+++ b/devel/boost-libs/Makefile Fri Nov 04 13:45:31 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2016/11/01 12:32:01 jperkin Exp $
+# $NetBSD: Makefile,v 1.46 2016/11/04 13:45:31 maya Exp $
 
 BOOST_PACKAGE=         libs
 BOOST_COMMENT=         (binary libraries)
@@ -29,8 +29,11 @@
 PLIST.log=             yes
 .endif
 
-# fiber requires thread_local support, unavailable in older Darwin clang
-.if ${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14
+# 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.
+.if ((${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14) || \
+    !empty(MACHINE_PLATFORM:MNetBSD-[0-6]*-*))
 BJAM_ARGS+=            --without-fiber
 .else
 PLIST.fiber=           yes



Home | Main Index | Thread Index | Old Index