From 91c54f32fe2f0710ee127eaaa1ed2fde137b03df Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Sat, 14 Nov 2020 21:20:10 +0100 Subject: [PATCH] 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 Signed-off-by: David Seifert --- sys-fabric/libmlx4/libmlx4-1.0.5.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild b/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild index d3258f9a47a42..7c98fbec8def6 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 +}