| @@ -1,39 +1,40 @@ | | | @@ -1,39 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.68 2018/05/06 18:56:35 minskim Exp $ | | 1 | # $NetBSD: Makefile,v 1.69 2018/05/07 18:47:02 minskim Exp $ |
2 | | | 2 | |
3 | BOOST_PACKAGE= libs | | 3 | BOOST_PACKAGE= libs |
4 | BOOST_COMMENT= (binary libraries) | | 4 | BOOST_COMMENT= (binary libraries) |
5 | BOOST_CONFIG= installed | | 5 | BOOST_CONFIG= installed |
6 | BOOST_INSTALL_LIBS= yes | | 6 | BOOST_INSTALL_LIBS= yes |
7 | | | 7 | |
8 | .include "../../meta-pkgs/boost/Makefile.common" | | 8 | .include "../../meta-pkgs/boost/Makefile.common" |
9 | PKGREVISION= 1 | | 9 | PKGREVISION= 1 |
10 | | | 10 | |
11 | INSTALLATION_DIRS+= lib | | 11 | INSTALLATION_DIRS+= lib |
12 | | | 12 | |
13 | BJAM_ARGS+= --without-python | | 13 | BJAM_ARGS+= --without-python |
14 | PLIST_VARS+= backtrace context fiber log longdbl | | 14 | PLIST_VARS+= backtrace context fiber log longdbl |
15 | | | 15 | |
16 | .if ${OPSYS} == "NetBSD" && ((${MACHINE_ARCH} == "i386") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc))) | | 16 | .if ${OPSYS} == "NetBSD" && ((${MACHINE_ARCH} == "i386") || (!empty(MACHINE_ARCH:Mearm*) && !empty(PKGSRC_COMPILER:Mgcc))) |
17 | BJAM_ARGS+= pch=off | | 17 | BJAM_ARGS+= pch=off |
18 | .endif | | 18 | .endif |
19 | | | 19 | |
20 | .if !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || !empty(MACHINE_ARCH:Msparc64) | | 20 | .if !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || !empty(MACHINE_ARCH:Msparc64) |
21 | BJAM_ARGS+= --without-context | | 21 | BJAM_ARGS+= --without-context |
22 | BJAM_ARGS+= --without-coroutine | | 22 | BJAM_ARGS+= --without-coroutine |
23 | BJAM_ARGS+= --without-fiber | | 23 | BJAM_ARGS+= --without-fiber |
24 | .else | | 24 | .else |
25 | PLIST.context= yes | | 25 | PLIST.context= yes |
26 | .if !(${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mgcc)) | | 26 | .if !(${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mgcc)) && \ |
| | | 27 | empty(MACHINE_PLATFORM:MDarwin-1[0-5].*-*) |
27 | PLIST.fiber= yes | | 28 | PLIST.fiber= yes |
28 | .endif | | 29 | .endif |
29 | .endif | | 30 | .endif |
30 | | | 31 | |
31 | # Darwin GCC is unable to build Boost.Log | | 32 | # Darwin GCC is unable to build Boost.Log |
32 | .if ${OPSYS} == "Darwin" && !empty(PKGSRC_COMPILER:Mgcc) | | 33 | .if ${OPSYS} == "Darwin" && !empty(PKGSRC_COMPILER:Mgcc) |
33 | BJAM_ARGS+= --without-log | | 34 | BJAM_ARGS+= --without-log |
34 | .else | | 35 | .else |
35 | PLIST.log= yes | | 36 | PLIST.log= yes |
36 | .endif | | 37 | .endif |
37 | | | 38 | |
38 | # FIXME: other systems might also not support 'long double' | | 39 | # FIXME: other systems might also not support 'long double' |
39 | # see patch-boost_math_tools_config.hpp | | 40 | # see patch-boost_math_tools_config.hpp |