From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09E56158041 for ; Thu, 29 Feb 2024 23:58:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50353E2A4C; Thu, 29 Feb 2024 23:58:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34E11E2A4C for ; Thu, 29 Feb 2024 23:58:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 761DF3430AA for ; Thu, 29 Feb 2024 23:58:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA5CC14EA for ; Thu, 29 Feb 2024 23:58:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709251060.a8c2b35f50a01d401be9c29abe6d720804ebbe44.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/zarith/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/zarith/zarith-1.13.ebuild X-VCS-Directories: dev-ml/zarith/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a8c2b35f50a01d401be9c29abe6d720804ebbe44 X-VCS-Branch: master Date: Thu, 29 Feb 2024 23:58:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fc027afc-4bd8-4b20-8bd6-028ca760de98 X-Archives-Hash: 072b96a1c608dbb4995e361cd72105c7 commit: a8c2b35f50a01d401be9c29abe6d720804ebbe44 Author: Eli Schwartz gmail com> AuthorDate: Thu Feb 29 23:39:22 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 29 23:57:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c2b35f dev-ml/zarith: remove support for mpir USE flag mpir is an ancient fork of gmp from 2017. It claims to be focused on speed. It doesn't build with modern compilers due to Modern C issues, and it fails to build with LTO as well. Unlike gmp, this will never be fixed. Bug: https://bugs.gentoo.org/812950 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-ml/zarith/zarith-1.13.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev-ml/zarith/zarith-1.13.ebuild b/dev-ml/zarith/zarith-1.13.ebuild index ffe8f2bf2cdc..cc89cb150c39 100644 --- a/dev-ml/zarith/zarith-1.13.ebuild +++ b/dev-ml/zarith/zarith-1.13.ebuild @@ -12,13 +12,12 @@ SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.ta LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86" -IUSE="doc mpir +ocamlopt" +IUSE="doc +ocamlopt" RESTRICT="!ocamlopt? ( test )" RDEPEND=" >=dev-lang/ocaml-4.05:=[ocamlopt=] - !mpir? ( dev-libs/gmp:0= ) - mpir? ( sci-libs/mpir:= ) + dev-libs/gmp:0= " DEPEND="${RDEPEND} dev-lang/perl" @@ -29,8 +28,7 @@ S="${WORKDIR}/Zarith-release-${PV}" src_configure() { tc-export CC AR ./configure \ - -ocamllibdir /usr/$(get_libdir)/ocaml \ - $(usex mpir "-mpir" "-gmp") || die + -ocamllibdir /usr/$(get_libdir)/ocaml -gmp || die sed -i \ -e 's|$(INSTALLDIR)|$(DESTDIR)$(INSTALLDIR)|g' \ project.mak || die