summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-14 21:19:37 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 21:19:37 +0100
commit6462d72580431c13b96063e7a6935e4f89b281f4 (patch)
tree9cd4638db56e39396e27e221d18ff01422cfc12a /sci-chemistry/mopac7
parentnet-wireless/lorcon: disable static libs (diff)
downloadgentoo-6462d72580431c13b96063e7a6935e4f89b281f4.tar.gz
gentoo-6462d72580431c13b96063e7a6935e4f89b281f4.tar.bz2
gentoo-6462d72580431c13b96063e7a6935e4f89b281f4.zip
sci-chemistry/mopac7: disable static libs
Closes: https://bugs.gentoo.org/727208 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-chemistry/mopac7')
-rw-r--r--sci-chemistry/mopac7/mopac7-1.15-r1.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild b/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
index 98848fcad10d..3cb18cba78fe 100644
--- a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
+++ b/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux"
-IUSE="gmxmopac7 static-libs"
+IUSE="gmxmopac7"
DEPEND="dev-libs/libf2c"
RDEPEND="${DEPEND}"
@@ -36,6 +36,10 @@ src_prepare() {
append-fflags -std=legacy -fno-automatic
}
+src_configure() {
+ econf --disable-static
+}
+
src_compile() {
emake
if use gmxmopac7; then
@@ -46,7 +50,6 @@ src_compile() {
cp -f "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
sed "s:GENTOOVERSION:${PV}:g" -i Makefile
emake FC=$(tc-getFC)
- use static-libs && emake static
fi
}
@@ -60,6 +63,7 @@ src_install() {
if use gmxmopac7; then
cd "${S}"/fortran/libgmxmopac7
dolib.so libgmxmopac7.so*
- use static-libs && dolib.a libgmxmopac7.a
fi
+
+ find "${ED}" -name '*.la' -delete || die
}