From 623d4ab26471435828adb197d675568b9212af47 Mon Sep 17 00:00:00 2001 From: François Bissey Date: Sat, 27 Jun 2020 20:51:47 +1200 Subject: sci-mathematics/pari: unset LD at configuration time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.99, Repoman-2.3.23 Closes: https://bugs.gentoo.org/722090 Closes: https://github.com/gentoo/gentoo/pull/16445 Signed-off-by: François René Pierre Bissey Signed-off-by: Michael Orlitzky --- sci-mathematics/pari/pari-2.11.4.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sci-mathematics/pari') diff --git a/sci-mathematics/pari/pari-2.11.4.ebuild b/sci-mathematics/pari/pari-2.11.4.ebuild index 8dc1c90f6f0e..2d485e215644 100644 --- a/sci-mathematics/pari/pari-2.11.4.ebuild +++ b/sci-mathematics/pari/pari-2.11.4.ebuild @@ -61,7 +61,11 @@ src_configure() { # sysdatadir installs a pari.cfg stuff which is informative only. # It is supposed to be for "architecture-dependent" data. # It needs to be easily discoverable for downstream packages such as gp2c. - ./Configure \ + # We set LD to "" so that it is set to the value of the compiler used + # which is how a normal end user is expected to configure it. pari's build + # system do not cope very well with a naked linker, it is expecting a + # compiler driver. See https://bugs.gentoo.org/722090 + LD="" ./Configure \ --prefix="${EPREFIX}"/usr \ --datadir="${EPREFIX}/usr/share/${PN}" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ -- cgit v1.2.3-65-gdbad