commit:     12ecf53c75ed4f1410a9b7a2044a0adaad5fc57a
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 14 22:59:26 2021 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 22:59:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ecf53c

sci-libs/libint: fix install of static libs (bug #776256)

Closes: https://bugs.gentoo.org/776256
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org>

 sci-libs/libint/{libint-2.6.0-r3.ebuild => libint-2.6.0-r4.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-libs/libint/libint-2.6.0-r3.ebuild 
b/sci-libs/libint/libint-2.6.0-r4.ebuild
similarity index 91%
rename from sci-libs/libint/libint-2.6.0-r3.ebuild
rename to sci-libs/libint/libint-2.6.0-r4.ebuild
index 686add02d2d..e248dec698c 100644
--- a/sci-libs/libint/libint-2.6.0-r3.ebuild
+++ b/sci-libs/libint/libint-2.6.0-r4.ebuild
@@ -42,7 +42,7 @@ src_configure() {
                --with-g12-max-am=5 --with-g12-opt-am=3 \
                --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \
                --enable-contracted-ints \
-               --enable-shared
+               --enable-shared \
                $(use_enable static-libs static)
 }
 
@@ -54,6 +54,9 @@ src_compile() {
 
 src_install() {
        default
+       if ! use static-libs; then
+               find "${ED}" -name '*.la' -delete || die "Failed to remove .la 
files"
+       fi
 
        if use doc; then
                DOCS=( doc/progman/progman.pdf )

Reply via email to