sci-mathematics/flint: Fix compilation with >=sys-devel/binutils-2.25.1
authorAlexander Tsoy <alexander@tsoy.me>
Sun, 24 Sep 2017 19:11:10 +0000 (21:11 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 24 Sep 2017 19:17:36 +0000 (21:17 +0200)
Closes: https://bugs.gentoo.org/573868
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Acked-by: Patrick Lauer <patrick@gentoo.org>
sci-mathematics/flint/flint-2.4.4-r1.ebuild
sci-mathematics/flint/flint-2.4.5.ebuild
sci-mathematics/flint/flint-2.5.2.ebuild

index 8e4d583bd03504c7be83dc95ec38d04de11616fd..aca6c9be9410cf09523fb663912d6107a98c5ff2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -31,6 +31,10 @@ src_prepare() {
                "${FILESDIR}"/${PN}-2.4.3-whitespaces.patch \
                "${FILESDIR}"/${PN}-2.4.3-cflags-ldflags.patch \
                "${FILESDIR}"/${PN}-2.4.4-test.patch
+
+       sed -i \
+               -e '/echo "DLPATH_ADD=/s/\$DLPATH_ADD/\\\$(CURDIR)/' \
+               ./configure || die
 }
 
 src_configure() {
index 318603218d1791e352497f1d2e42383ebf08ad28..a8293b9632a7cfadf8d191e65468f5b521f60e29 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -33,6 +33,10 @@ src_prepare() {
                "${FILESDIR}"/${PN}-2.4.4-test.patch \
                "${FILESDIR}"/${PN}-2.4.5-gmp6-compat.patch \
                "${FILESDIR}"/${PN}-2.4.5-ntl62.patch
+
+       sed -i \
+               -e '/echo "DLPATH_ADD=/s/\$DLPATH_ADD/\\\$(CURDIR)/' \
+               ./configure || die
 }
 
 src_configure() {
index e7ccd5124387fd41d0fc6b86df06aba6f6150e7c..0217ae0600ca52bf0a93dbe57d6ee16354e74c5f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -26,6 +26,12 @@ DEPEND="${RDEPEND}
                dev-texlive/texlive-latexextra
        )"
 
+src_prepare() {
+       sed -i \
+               -e '/echo "DLPATH_ADD=/s/\$DLPATH_ADD/\\\$(CURDIR)/' \
+               ./configure || die
+}
+
 src_configure() {
        ./configure \
                --prefix="${EPREFIX}/usr" \