From b596f3b2b1ec6d76d3714120f1e6082396e7b9d8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 21 Jan 2023 20:14:08 -0500 Subject: sci-mathematics/pari: move LDFLAGS patch into the ebuild. Signed-off-by: Michael Orlitzky --- sci-mathematics/pari/pari-2.15.2.ebuild | 5 +++-- 1 file 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)" \ -- cgit v1.2.3-65-gdbad