diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2023-01-21 20:14:08 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2023-01-21 20:15:06 -0500 |
commit | b596f3b2b1ec6d76d3714120f1e6082396e7b9d8 (patch) | |
tree | 356b48b1c85b59a93c55b0ff88d844e62e874b57 /sci-mathematics | |
parent | sci-mathematics/pari: move STRIP override patch into the ebuild. (diff) | |
download | gentoo-b596f3b2b1ec6d76d3714120f1e6082396e7b9d8.tar.gz gentoo-b596f3b2b1ec6d76d3714120f1e6082396e7b9d8.tar.bz2 gentoo-b596f3b2b1ec6d76d3714120f1e6082396e7b9d8.zip |
sci-mathematics/pari: move LDFLAGS patch into the ebuild.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/pari/pari-2.15.2.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sci-mathematics/pari/pari-2.15.2.ebuild b/sci-mathematics/pari/pari-2.15.2.ebuild index f33ec30fd5de..058eac35d8b0 100644 --- a/sci-mathematics/pari/pari-2.15.2.ebuild +++ b/sci-mathematics/pari/pari-2.15.2.ebuild @@ -35,7 +35,6 @@ PATCHES=( "${FILESDIR}/${PN}"-2.9.4-ppc.patch "${FILESDIR}/${PN}"-2.11.2-no-automagic.patch "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch - "${FILESDIR}/${PN}"-2.11.2-Makefile-LDFLAGS.patch "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch "${FILESDIR}/${PN}"-2.15.2-ellsea.patch ) @@ -80,7 +79,9 @@ src_configure() { # always gets set to the value of the compiler used. Pari's build # system does not cope very well with a naked linker, it is # expecting a compiler driver. See bugs 722090 and 871117. - LD="" DLLD="$(tc-getCC)" ./Configure \ + # DLLDFLAGS, on the other hand, is used exactly like LDFLAGS would + # be in a less-weird build system. + LD="" DLLD="$(tc-getCC)" DLLDFLAGS="${LDFLAGS}" ./Configure \ --prefix="${EPREFIX}"/usr \ --datadir="${EPREFIX}/usr/share/${PN}" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |