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:   maya
Date:           Fri Nov  4 13:45:31 UTC 2016

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

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 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.45 pkgsrc/devel/boost-libs/Makefile:1.46
--- pkgsrc/devel/boost-libs/Makefile:1.45       Tue Nov  1 12:32:01 2016
+++ pkgsrc/devel/boost-libs/Makefile    Fri Nov  4 13:45:31 2016
@@ -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 @@ 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
+# 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