Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 17:38:49 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538333 - head/math/mppp
Message-ID:  <202006091738.059HcnIV039460@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Jun  9 17:38:49 2020
New Revision: 538333
URL: https://svnweb.freebsd.org/changeset/ports/538333

Log:
  math/mppp: Add optional dependencies math/mpc, math/arb; Turn on the IPO option

Modified:
  head/math/mppp/Makefile

Modified: head/math/mppp/Makefile
==============================================================================
--- head/math/mppp/Makefile	Tue Jun  9 17:34:45 2020	(r538332)
+++ head/math/mppp/Makefile	Tue Jun  9 17:38:49 2020	(r538333)
@@ -3,6 +3,7 @@
 PORTNAME=	mppp
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.20
+PORTREVISION=	1
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,18 +12,20 @@ COMMENT=	Multiprecision for modern C++
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-# build only checks that the headers exist, and then they are included in the run time
-BUILD_DEPENDS=	${LOCALBASE}/include/gmp.h:math/gmp \
-		${LOCALBASE}/include/mpfr.h:math/mpfr
-RUN_DEPENDS=	${LOCALBASE}/include/gmp.h:math/gmp \
-		${LOCALBASE}/include/mpfr.h:math/mpfr
+LIB_DEPENDS=	libarb.so:math/arb \
+		libflint.so:math/flint2 \
+		libgmp.so:math/gmp \
+		libmpc.so:math/mpc \
+		libmpfr.so:math/mpfr
 
 USES=		cmake compiler:c++14-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	bluescarni
 
-TEST_ARGS=	-DMPPP_BUILD_TESTS=ON -DMPPP_WITH_MPFR=ON -DMPPP_WITH_QUADMATH=OFF # no quad-precision fp type on FreeBSD, requested __float128 reinstantiation, bug#238129
-BENCHMARK_ARGS=	-DMPPP_BUILD_BENCHMARKS=ON -DMPPP_BENCHMARK_BOOST=OFF
+CMAKE_ON=	MPPP_WITH_ARB MPPP_WITH_MPC MPPP_WITH_MPFR MPPP_ENABLE_IPO
+CMAKE_OFF=	MPPP_WITH_QUADMATH # no quad-precision fp type on FreeBSD, requested __float128 reinstantiation, bug#238129
+TEST_ARGS=	-DMPPP_BUILD_TESTS=ON -DMPPP_WITH_QUADMATH=OFF
+BENCHMARK_ARGS=	-DMPPP_BUILD_BENCHMARKS=ON -DMPPP_BENCHMARK_FLINT=ON -DMPPP_BENCHMARK_BOOST=ON
 
 do-test:
 	@cd ${BUILD_WRKSRC} && \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006091738.059HcnIV039460>