summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)" \