commit:     dc3959609c29c8edf547375ec2587f17082e9ba8
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Nov 16 23:21:03 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 23:21:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc395960

sys-cluster/mpich2: disable static libs

Closes: https://bugs.gentoo.org/458474
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-cluster/mpich2/mpich2-1.5.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/mpich2/mpich2-1.5.ebuild 
b/sys-cluster/mpich2/mpich2-1.5.ebuild
index e3e96c43c26..ffffb896636 100644
--- a/sys-cluster/mpich2/mpich2-1.5.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -51,7 +51,7 @@ src_prepare() {
 }
 
 src_configure() {
-       local c="--enable-shared"
+       local c="--enable-shared --disable-static"
 
        # The configure statements can be somewhat confusing, as they
        # don't all show up in the top level configure, however, they
@@ -109,4 +109,6 @@ src_install() {
        if ! use doc; then
                rm -rf "${D}"usr/share/doc/${PF}/www*
        fi
+
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to