summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2023-01-21 20:14:08 -0500
committerMichael Orlitzky <mjo@gentoo.org>2023-01-21 20:15:06 -0500
commitb596f3b2b1ec6d76d3714120f1e6082396e7b9d8 (patch)
tree356b48b1c85b59a93c55b0ff88d844e62e874b57
parentsci-mathematics/pari: move STRIP override patch into the ebuild. (diff)
downloadgentoo-b596f3b2.tar.gz
gentoo-b596f3b2.tar.bz2
gentoo-b596f3b2.zip
sci-mathematics/pari: move LDFLAGS patch into the ebuild.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-rw-r--r--sci-mathematics/pari/pari-2.15.2.ebuild5
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)" \