pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/boost-libs Long double math functions are not av...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7483280be344
branches:  trunk
changeset: 645211:7483280be344
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Jan 25 12:21:33 2015 +0000

description:
Long double math functions are not available on Darwin.

See boost/math/tools/config.hpp:53

diffstat:

 devel/boost-libs/Makefile |  10 ++++++++--
 devel/boost-libs/PLIST    |  14 +++++++-------
 2 files changed, 15 insertions(+), 9 deletions(-)

diffs (65 lines):

diff -r 21a40f5657b2 -r 7483280be344 devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Sun Jan 25 12:06:38 2015 +0000
+++ b/devel/boost-libs/Makefile Sun Jan 25 12:21:33 2015 +0000
@@ -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 @@
 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 @@
 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 -r 21a40f5657b2 -r 7483280be344 devel/boost-libs/PLIST
--- a/devel/boost-libs/PLIST    Sun Jan 25 12:06:38 2015 +0000
+++ b/devel/boost-libs/PLIST    Sun Jan 25 12:21:33 2015 +0000
@@ -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_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}



Home | Main Index | Thread Index | Old Index