From c97c57985dee6abdf0f101ca96b7347b03afaae7 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 18 Apr 2025 00:15:10 -0400 Subject: [PATCH] sci-mathematics/lcalc: try elibtoolize to fix bug 953363 Bug: https://bugs.gentoo.org/953363 Signed-off-by: Michael Orlitzky --- .../lcalc/{lcalc-2.1.0.ebuild => lcalc-2.1.0-r1.ebuild} | 9 +++++++++ 1 file changed, 9 insertions(+) rename sci-mathematics/lcalc/{lcalc-2.1.0.ebuild => lcalc-2.1.0-r1.ebuild} (89%) diff --git a/sci-mathematics/lcalc/lcalc-2.1.0.ebuild b/sci-mathematics/lcalc/lcalc-2.1.0-r1.ebuild similarity index 89% rename from sci-mathematics/lcalc/lcalc-2.1.0.ebuild rename to sci-mathematics/lcalc/lcalc-2.1.0-r1.ebuild index a39356808db64..8143393823f79 100644 --- a/sci-mathematics/lcalc/lcalc-2.1.0.ebuild +++ b/sci-mathematics/lcalc/lcalc-2.1.0-r1.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit libtool + DESCRIPTION="Command-line utility and library for L-function computations" HOMEPAGE="https://gitlab.com/sagemath/lcalc" SRC_URI="https://gitlab.com/-/project/12934202/uploads/679cb360a06a713233876cd6fa0ba2fa/${P}.tar.xz" @@ -25,6 +27,13 @@ DEPEND="double-double? ( sci-libs/qd:= ) pari? ( sci-mathematics/pari:= )" RDEPEND="${DEPEND}" +src_prepare() { + default + + # Attempt to fix bug 953363 (using the fix for bug 914068) + elibtoolize +} + src_configure() { econf $(use_with pari) \ --enable-precision="$(usev double)$(usev double-double)$(usev quad-double)"