math/mppp: fix build with GCC-based architectures, enable -DMPPP_WITH_QUADMATH=ON

Add USES=compiler:c++14-lang everywhere, not just for tests, because this library has recently become non-NOARCH.

PR:		237608
Submitted by:	pkubaj
This commit is contained in:
Yuri Victorovich 2019-04-27 17:49:56 +00:00
parent 20098820b4
commit 6eefa12ee4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500217

View file

@ -3,6 +3,7 @@
PORTNAME= mppp
DISTVERSIONPREFIX= v
DISTVERSION= 0.14
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@ -17,12 +18,11 @@ BUILD_DEPENDS= ${LOCALBASE}/include/gmp.h:math/gmp \
RUN_DEPENDS= ${LOCALBASE}/include/gmp.h:math/gmp \
${LOCALBASE}/include/mpfr.h:math/mpfr
USES= cmake
USES= cmake compiler:c++14-lang
USE_GITHUB= yes
GH_ACCOUNT= bluescarni
TEST_USES= compiler:c++14-lang
TEST_ARGS= -DMPPP_BUILD_TESTS=ON -DMPPP_WITH_MPFR=ON #-DMPPP_WITH_QUADMATH=ON (quadmath requires __float128, only available in clang6)
TEST_ARGS= -DMPPP_BUILD_TESTS=ON -DMPPP_WITH_MPFR=ON -DMPPP_WITH_QUADMATH=ON
BENCHMARK_ARGS= -DMPPP_BUILD_BENCHMARKS=ON -DMPPP_BENCHMARK_BOOST=ON
do-test: