summaryrefslogtreecommitdiff
path: root/sci-mathematics/4ti2
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/4ti2')
-rw-r--r--sci-mathematics/4ti2/4ti2-1.6.7.ebuild20
-rw-r--r--sci-mathematics/4ti2/Manifest2
2 files changed, 12 insertions, 10 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
}
diff --git a/sci-mathematics/4ti2/Manifest b/sci-mathematics/4ti2/Manifest
index df3f68c2f154..597270666a8c 100644
--- a/sci-mathematics/4ti2/Manifest
+++ b/sci-mathematics/4ti2/Manifest
@@ -6,5 +6,5 @@ DIST 4ti2-1.6.7.tar.gz 5649869 BLAKE2B ab0e7da1de88e5e99ead0b8fa7f7a72773b84ae90
EBUILD 4ti2-1.6.2.ebuild 789 BLAKE2B fc726381328965ea640e5ee6cd529939561071dfaac133727a679c73a9a8ddffe9e4a3fe36637a8f6cfb7b3075dd765d071348aff7b94f4f47bbb5f608b2be08 SHA512 58e22453125f1329e5df372b4ed2bf3672de5180acd3667e90b528211a427c18ce77e041e91ab13ff96157f329210ed40771779940b323e5ef330aba417aabe4
EBUILD 4ti2-1.6.5.ebuild 791 BLAKE2B 93d7add8a6a1faaba96a82a1f0e146fd73ef6b3e43bc4d79bcfa17f490111216b0ea8423a62305b7cc6c311d67394e61ff048ad515ca854b4caf01afbbe73f04 SHA512 4951d3a3e5ddaf1641e0466e5601350b69c46f6e184a20d23466140bdc958e5538663dce8bb1e2395316dd63499a93d0eaef224188f407c7cb45104cc073652d
EBUILD 4ti2-1.6.6.ebuild 798 BLAKE2B 1f315e0bdf92facd059b4a29adec741fb40b24adf28dfe66e93633b5e29be90f50565b6d021ea817da18bb01780dadc114a1e2db66b0bc44f8faa4af191a638e SHA512 e531966d6b40f7da358890db343d62536cd1947c5473a4e310e1bc639701442a779e6b37697bbaa9c1d3a25f5a5c4621ca6e5129361e9314bedeeade2e5a885e
-EBUILD 4ti2-1.6.7.ebuild 918 BLAKE2B e9017b6ad419a4f8769163d28d257294e7a4ac7e25212d0a4dcf5629c466435929eeda8dbf1411a19c249061adcef049d7e3c8858ffd47240cb05bfea0762fc6 SHA512 b492edd19531900aa43ba8f945d3bbb804e15156e1a096b1045358a1fbbd0537bfe2ebe568dc8ca2e12045303ff7b16d57c0349865ac503842fd62b602b274ff
+EBUILD 4ti2-1.6.7.ebuild 919 BLAKE2B 8b6ea74353bcc05727bc856566e16b37e22f7816c90507f441662ae18777a893deb5d44e3999a5da54dfda1c38557d91c909f4baee3e4b044a0b89dc15380178 SHA512 8c79cd88808064e58b2a6440f919a43b89b68db9a3ff96357168ccae0c2f9e62d620cef1f1441c9edcf06394923a280ae2beca425bbd7c6c78b2893bed13946f
MISC metadata.xml 446 BLAKE2B ce737e287f6b8f420aee86ca0ce72aa4952474a3ba717239dc8d10261038faddbc9b06f93a04bc8f8c48b36606254780865bbc5038564d4fb9252241e45a7a4b SHA512 2c7950b353c54597eebcff1f50e5045f792ef37cfe59f0142160bdf5ea47ff6be57bd698b051e6c56863b109fde983c1aeeca87827289abde96838af1aa3f7d1