summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-05-27 09:53:38 +0200
committerDavid Seifert <soap@gentoo.org>2018-05-27 09:54:24 +0200
commit299644fd56be6767daae6386c0699ca325a17f58 (patch)
treeabeef6036dc98dfef3b45ff75ff86f6d1edd6337 /sci-mathematics
parentsci-mathematics/lpsolve: Port to EAPI 6 (diff)
downloadgentoo-299644fd56be6767daae6386c0699ca325a17f58.tar.gz
gentoo-299644fd56be6767daae6386c0699ca325a17f58.tar.bz2
gentoo-299644fd56be6767daae6386c0699ca325a17f58.zip
sci-mathematics/4ti2: [QA] Remove eutils
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/4ti2/4ti2-1.6.7.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/sci-mathematics/4ti2/4ti2-1.6.7.ebuild b/sci-mathematics/4ti2/4ti2-1.6.7.ebuild
index c06748c20172..073a1868de77 100644
--- a/sci-mathematics/4ti2/4ti2-1.6.7.ebuild
+++ b/sci-mathematics/4ti2/4ti2-1.6.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit autotools eutils
+inherit autotools
DESCRIPTION="Software package for algebraic, geometric and combinatorial problems"
HOMEPAGE="http://www.4ti2.de/"
@@ -14,10 +14,10 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="static-libs"
-DEPEND="
- sci-mathematics/glpk:0[gmp]
- dev-libs/gmp[cxx]"
-RDEPEND="${DEPEND}"
+RDEPEND="
+ sci-mathematics/glpk:=[gmp]
+ dev-libs/gmp:0=[cxx]"
+DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.2-gold.patch
@@ -25,8 +25,7 @@ PATCHES=(
src_prepare() {
default
- sed -e "s:^CXX.*$:CXX=$(tc-getCXX):g" \
- -i m4/glpk-check.m4 || die
+ sed -e "/^CXX/d" -i m4/glpk-check.m4 || die
# The swig subdir is not used, so we can skip running autotools in it. #518000
AT_NO_RECURSIVE=1 eautoreconf
}
@@ -39,5 +38,8 @@ src_configure() {
src_install() {
default
- use static-libs || prune_libtool_files --all
+
+ if ! use static-libs; then
+ find "${D}" -name '*.la' -delete || die
+ fi
}