summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Bissey <frp.bissey@gmail.com>2020-06-27 20:51:47 +1200
committerMichael Orlitzky <mjo@gentoo.org>2020-06-28 07:44:09 -0400
commit623d4ab26471435828adb197d675568b9212af47 (patch)
treecbd8af8b617c7858028ff9bce2316f301a11e7b5 /sci-mathematics
parentnet-misc/dropbox: bump to 100.4.409 (diff)
downloadgentoo-623d4ab26471435828adb197d675568b9212af47.tar.gz
gentoo-623d4ab26471435828adb197d675568b9212af47.tar.bz2
gentoo-623d4ab26471435828adb197d675568b9212af47.zip
sci-mathematics/pari: unset LD at configuration time
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 <frp.bissey@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/pari/pari-2.11.4.ebuild6
1 files changed, 5 insertions, 1 deletions
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)" \