commit: 6462d72580431c13b96063e7a6935e4f89b281f4 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Sat Nov 14 20:19:37 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Nov 14 20:19:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6462d725
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 <AT> sartura.hr> Signed-off-by: David Seifert <soap <AT> gentoo.org> sci-chemistry/mopac7/mopac7-1.15-r1.ebuild | 10 +++++++--- 1 file 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 98848fcad10..3cb18cba78f 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 }
