From cb3a7886fcadc6433e2c7c8a92f253310d3fa563 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 23 Aug 2020 19:01:37 +0200 Subject: sci-libs/spqr: Remove libtool archives Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert --- sci-libs/spqr/spqr-2.0.9.ebuild | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'sci-libs/spqr') 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 +} -- cgit v1.2.3-65-gdbad