summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-14 21:20:10 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 21:20:10 +0100
commit91c54f32fe2f0710ee127eaaa1ed2fde137b03df (patch)
tree0807f7f3595da2022b187dd925ad7c761e96cab6 /sys-fabric/libmlx4
parentsys-fabric/libipathverbs: disable static libs (diff)
downloadgentoo-91c54f32fe2f0710ee127eaaa1ed2fde137b03df.tar.gz
gentoo-91c54f32fe2f0710ee127eaaa1ed2fde137b03df.tar.bz2
gentoo-91c54f32fe2f0710ee127eaaa1ed2fde137b03df.zip
sys-fabric/libmlx4: disable static libs
Closes: https://bugs.gentoo.org/725966 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 'sys-fabric/libmlx4')
-rw-r--r--sys-fabric/libmlx4/libmlx4-1.0.5.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild b/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild
index d3258f9a47a..7c98fbec8de 100644
--- a/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild
+++ b/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -20,3 +20,12 @@ DEPEND="
RDEPEND="
!sys-fabric/openib-userspace"
block_other_ofed_versions
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}