sci-libs/mpfi: Remove USE="static-libs"
authorDavid Seifert <soap@gentoo.org>
Wed, 1 Jan 2020 11:03:10 +0000 (12:03 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 1 Jan 2020 11:03:10 +0000 (12:03 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
sci-libs/mpfi/mpfi-1.5.3.ebuild

index f3981fb6316b088425875a47dc182d8a97806f96..f1c184f6bfebe3ced525bd4e8e4c65f8d477bc24 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,6 @@ SRC_URI="https://gforge.inria.fr/frs/download.php/37331/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
 
 DEPEND="
        >=dev-libs/gmp-4.1.2:0=
@@ -20,14 +19,12 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 my_src_configure() {
-       ECONF_SOURCE="${S}" econf \
-               $(use_enable static-libs static)
+       econf --disable-static
 }
 
 my_src_install() {
        default
 
-       if ! use static-libs; then
-               find "${D}" -name '*.la' -delete || die
-       fi
+       # no static archives
+       find "${D}" -name '*.la' -delete || die
 }