summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-23 19:01:37 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-23 19:01:37 +0200
commitcb3a7886fcadc6433e2c7c8a92f253310d3fa563 (patch)
tree2e8b474dcfe88f2b0c6341108af3ffd9ea6135d3 /sci-libs/spqr
parentdev-libs/igraph: Remove libtool archives (diff)
downloadgentoo-cb3a7886fcadc6433e2c7c8a92f253310d3fa563.tar.gz
gentoo-cb3a7886fcadc6433e2c7c8a92f253310d3fa563.tar.bz2
gentoo-cb3a7886fcadc6433e2c7c8a92f253310d3fa563.zip
sci-libs/spqr: Remove libtool archives
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/spqr')
-rw-r--r--sci-libs/spqr/spqr-2.0.9.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/sci-libs/spqr/spqr-2.0.9.ebuild b/sci-libs/spqr/spqr-2.0.9.ebuild
index b454c16516e2..72475fd658a1 100644
--- a/sci-libs/spqr/spqr-2.0.9.ebuild
+++ b/sci-libs/spqr/spqr-2.0.9.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc partition static-libs tbb"
+IUSE="doc partition tbb"
BDEPEND="virtual/pkgconfig
doc? ( virtual/latex-base )"
@@ -18,7 +18,8 @@ BDEPEND="virtual/pkgconfig
# USE=lapack, and cholmod has to have partition support if spqr is going
# to have it (the ./configure script for spqr checks this). Note that
# spqr links to metis directly, too.
-DEPEND="virtual/lapack
+DEPEND="
+ virtual/lapack
>=sci-libs/cholmod-2[lapack,partition?]
partition? ( >=sci-libs/metis-5.1.0 )
tbb? ( dev-cpp/tbb )"
@@ -26,8 +27,15 @@ RDEPEND="${DEPEND}"
src_configure() {
econf \
+ --disable-static \
$(use_with doc) \
- $(use_enable static-libs static) \
$(use_with partition) \
$(use_with tbb)
}
+
+src_install() {
+ default
+
+ # no static archives
+ find "${D}" -name '*.la' -delete || die
+}