commit: b596f3b2b1ec6d76d3714120f1e6082396e7b9d8 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sun Jan 22 01:14:08 2023 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sun Jan 22 01:15:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b596f3b2
sci-mathematics/pari: move LDFLAGS patch into the ebuild. Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> 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)" \