sci-mathematics/flint: Fix compilation with >=sys-devel/binutils-2.25.1

Closes: https://bugs.gentoo.org/573868
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Acked-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
Alexander Tsoy
2017-09-24 21:11:10 +02:00
committed by Thomas Deutschmann
parent 0751a5a062
commit 2f8c6f143d
3 changed files with 17 additions and 3 deletions

View 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() {

View 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() {

View 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" \