commit:     4aea30164cf091cb80d25b58c68ac54658ed2237
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 26 08:39:51 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 08:39:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aea3016

sys-block/libfabric: [QA] Remove .la and .a files

Closes: https://bugs.gentoo.org/772944
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-block/libfabric/libfabric-1.11.2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-block/libfabric/libfabric-1.11.2.ebuild 
b/sys-block/libfabric/libfabric-1.11.2.ebuild
index 59d1c970e24..e4b0e429284 100644
--- a/sys-block/libfabric/libfabric-1.11.2.ebuild
+++ b/sys-block/libfabric/libfabric-1.11.2.ebuild
@@ -41,7 +41,8 @@ src_prepare() {
 }
 
 src_configure() {
-       local -a myeconfargs=(
+       local myeconfargs=(
+               --disable-static
                # let's try to avoid automagic deps
                --enable-bgq=no
                --enable-cuda-dlopen=$(usex cuda yes no)
@@ -68,3 +69,10 @@ src_configure() {
        )
        econf "${myeconfargs[@]}"
 }
+
+src_install() {
+       default
+
+       # no static archives
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to