diff options
author | pho <pho@pkgsrc.org> | 2015-01-25 12:21:33 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2015-01-25 12:21:33 +0000 |
commit | 83361b367da99ce345a1c933971e4e2ff2706d59 (patch) | |
tree | eccc75cefa9304bde05f41014dc614b9a3628395 | |
parent | 29f856044e8d1f931bb21ac466ff724072109db3 (diff) | |
download | pkgsrc-83361b367da99ce345a1c933971e4e2ff2706d59.tar.gz |
Long double math functions are not available on Darwin.
See boost/math/tools/config.hpp:53
-rw-r--r-- | devel/boost-libs/Makefile | 10 | ||||
-rw-r--r-- | devel/boost-libs/PLIST | 14 |
2 files changed, 15 insertions, 9 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile index 31bf554df4c..c649a7d47fe 100644 --- a/devel/boost-libs/Makefile +++ b/devel/boost-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2014/11/19 11:46:17 jmcneill Exp $ +# $NetBSD: Makefile,v 1.32 2015/01/25 12:21:33 pho 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 +PLIST_VARS+= context 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,12 @@ BJAM_ARGS+= --without-log PLIST.log= yes .endif +# Long double math functions are not available on Darwin. See +# boost/math/tools/config.hpp:53 +.if ${OPSYS} != "Darwin" +PLIST.long_double_math= yes +.endif + UNLIMIT_RESOURCES+= stacksize .include "../../devel/boost-jam/bjam.mk" diff --git a/devel/boost-libs/PLIST b/devel/boost-libs/PLIST index be612675efe..b319f797462 100644 --- a/devel/boost-libs/PLIST +++ b/devel/boost-libs/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.26 2014/08/13 10:56:35 adam Exp $ +@comment $NetBSD: PLIST,v 1.27 2015/01/25 12:21:33 pho Exp $ lib/libboost_atomic.a lib/libboost_atomic.so lib/libboost_atomic.so.${BOOST_VERSION} @@ -42,18 +42,18 @@ lib/libboost_math_c99.so.${BOOST_VERSION} lib/libboost_math_c99f.a lib/libboost_math_c99f.so lib/libboost_math_c99f.so.${BOOST_VERSION} -lib/libboost_math_c99l.a -lib/libboost_math_c99l.so -lib/libboost_math_c99l.so.${BOOST_VERSION} +${PLIST.long_double_math}lib/libboost_math_c99l.a +${PLIST.long_double_math}lib/libboost_math_c99l.so +${PLIST.long_double_math}lib/libboost_math_c99l.so.${BOOST_VERSION} lib/libboost_math_tr1.a lib/libboost_math_tr1.so lib/libboost_math_tr1.so.${BOOST_VERSION} lib/libboost_math_tr1f.a lib/libboost_math_tr1f.so lib/libboost_math_tr1f.so.${BOOST_VERSION} -lib/libboost_math_tr1l.a -lib/libboost_math_tr1l.so -lib/libboost_math_tr1l.so.${BOOST_VERSION} +${PLIST.long_double_math}lib/libboost_math_tr1l.a +${PLIST.long_double_math}lib/libboost_math_tr1l.so +${PLIST.long_double_math}lib/libboost_math_tr1l.so.${BOOST_VERSION} lib/libboost_prg_exec_monitor.a lib/libboost_prg_exec_monitor.so lib/libboost_prg_exec_monitor.so.${BOOST_VERSION} |