From nobody Sun Sep 24 20:23:54 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RtyBz2Pwfz4vPvs; Sun, 24 Sep 2023 20:23:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RtyBz1Lhkz4Nwh; Sun, 24 Sep 2023 20:23:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695587035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=39AljpfLcRii0ZlVCdKY/W54Bc2+SI2e1cHV83Cnbkc=; b=naYFZJ4v3hszKt1DI5cUi9cGteXpcA/YzQeG3ioxTUR76R3fEnSdxORMXl1HaP3b1+cOAJ FFrov665sMYMDCQdjZw7JZheHxi5p+JGnP7Vo3BztwA8A8JmPYO+AaHW4T0HkvAcYd2aAa H3iPkQ17LX93o4BN84+FcDAap5Aw7mDCkzylUud8WRukrwujiilb62aeeJp7bgaYMGjT1S lYjpTQ+tE53KnVHWpVt3tXFQOQQCIMkPinOl9ltxh7kHAdft3tGnqXN35MI0EFBVNa78hl XteZiREXWtRNQ1tXtnGH+Gu/MAelznwKRudoq06dbknVpaw0eKZugP5F2wUhhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695587035; a=rsa-sha256; cv=none; b=GRO+RdC1OYTiFD/Mfq2we9EoJ/Q9ihFK6WzWwIlPOVuC1SfYZTDtpS7PJVUPmuD1wu3ltY UdilR6csW6RQVZejCOvMlIIB7kk+6Lshk0Zhl8rPabgPGAkNc2GouieEJ4lV6hKXaZla2w gDu8D8VFhM+WVcbVIZ6oZ/PxhIvTSKyLMVH9eVDzAUukypKbZ8HQ4Zpa5QCn6gvoybOwOt /5rRcFyV9ZcvEJJAAHGl6q1vlq3+AbHeTQ4RPtbGnTuxY0/f2ikFtrAgs+foOsj/+L6u99 n12+XFfLU+/VkLAud4NurYaFFT3tsAgYh+jQ3fKh1AZyRyIq+JpwHK5CrQuSYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695587035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=39AljpfLcRii0ZlVCdKY/W54Bc2+SI2e1cHV83Cnbkc=; b=BvKvr5LT7p+KBKXqFQQEjkt2iRYqtpL9q2A1jHDMwP13Knt3buM4ZAWrjqsFaeVjqHd4Td 8KD0AcgQrOZq4sE/ux4LNEvnfi+aBas7zpRAMFsWDeqfoQHn5LSTKOvIuY6TsnhaofaDjq m+chPvAfTRsXxXl6qNaythVXHFxWo8k6AeB15w51gd+K6kUNo5SiwCHXPXQq4l6b2YeZT/ oGMHnSqwchC5VoXJFyPMokt8jf5SSJe3KbMfmuKqBn84CfXkM5PHJLynqLG97PcAz2rfUf C9tgrMiTRIN6Xev7kRGnvP50EOGFgmEjo2b4FHpvGwYbWVquinWYK3yLF3CrsA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RtyBz05M4z11fj; Sun, 24 Sep 2023 20:23:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38OKNsY5095504; Sun, 24 Sep 2023 20:23:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38OKNsW6095501; Sun, 24 Sep 2023 20:23:54 GMT (envelope-from git) Date: Sun, 24 Sep 2023 20:23:54 GMT Message-Id: <202309242023.38OKNsW6095501@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b26a85b20d01 - main - math/mppp: Build with the fmt library enabled; Add port options for all optional dependencies List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b26a85b20d012cc0645933ae8a21178c484458cf Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b26a85b20d012cc0645933ae8a21178c484458cf commit b26a85b20d012cc0645933ae8a21178c484458cf Author: Yuri Victorovich AuthorDate: 2023-09-24 20:22:54 +0000 Commit: Yuri Victorovich CommitDate: 2023-09-24 20:23:47 +0000 math/mppp: Build with the fmt library enabled; Add port options for all optional dependencies --- math/mppp/Makefile | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/math/mppp/Makefile b/math/mppp/Makefile index 7de18a5e6f36..5ec987fec545 100644 --- a/math/mppp/Makefile +++ b/math/mppp/Makefile @@ -1,7 +1,7 @@ PORTNAME= mppp DISTVERSIONPREFIX= v DISTVERSION= 0.27 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -11,12 +11,7 @@ WWW= https://github.com/bluescarni/mppp LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libarb.so:math/arb \ - libboost_serialization.so:devel/boost-libs \ - libflint.so:math/flint2 \ - libgmp.so:math/gmp \ - libmpc.so:math/mpc \ - libmpfr.so:math/mpfr +LIB_DEPENDS= libgmp.so:math/gmp USES= cmake compiler:c++14-lang USE_LDCONFIG= yes @@ -24,11 +19,37 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= bluescarni -CMAKE_ON= MPPP_WITH_ARB MPPP_WITH_MPC MPPP_WITH_MPFR MPPP_ENABLE_IPO MPPP_WITH_BOOST_S11N +CMAKE_ON= 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 +TEST_ARGS= -DMPPP_BUILD_TESTS=ON BENCHMARK_ARGS= -DMPPP_BUILD_BENCHMARKS=ON -DMPPP_BENCHMARK_FLINT=ON -DMPPP_BENCHMARK_BOOST=ON +OPTIONS_DEFINE= ARB FMT MPC MPFR SERIALIZATION +OPTIONS_DEFAULT= ARB FMT MPC MPFR SERIALIZATION + +ARB_DESC= Enable features relying on Arb +ARB_CMAKE_BOOL= MPPP_WITH_ARB +ARB_LIB_DEPENDS= libarb.so:math/arb \ + libflint.so:math/flint2 +ARB_IMPLIES= MPFR + +FMT_DESC= Enable support for the fmt library +FMT_CMAKE_BOOL= MPPP_WITH_FMT +FMT_LIB_DEPENDS= libfmt.so:devel/libfmt + +MPC_DESC= Enable features relying on MPC +MPC_CMAKE_BOOL= MPPP_WITH_MPC +MPC_LIB_DEPENDS= libmpc.so:math/mpc +MPC_IMPLIES= MPFR + +MPFR_DESC= Enable features relying on MPFR +MPFR_CMAKE_BOOL= MPPP_WITH_MPFR +MPFR_LIB_DEPENDS= libmpfr.so:math/mpfr + +SERIALIZATION_DESC= Enable features relying on the Boost.Serialization library +SERIALIZATION_CMAKE_BOOL= MPPP_WITH_BOOST_S11N +SERIALIZATION_LIB_DEPENDS= libboost_serialization.so:devel/boost-libs + do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${TEST_ARGS} ${CMAKE_SOURCE_PATH} && \