commit: a468e82cf7eaf00217d4c7464d1d6b22711821a7 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Sat Nov 14 20:20:13 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sat Nov 14 20:20:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a468e82c
sys-fabric/libmthca: disable static libs Closes: https://bugs.gentoo.org/725968 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Signed-off-by: David Seifert <soap <AT> gentoo.org> sys-fabric/libmthca/libmthca-1.0.6.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys-fabric/libmthca/libmthca-1.0.6.ebuild b/sys-fabric/libmthca/libmthca-1.0.6.ebuild index 12b7d53cec4..498608f416a 100644 --- a/sys-fabric/libmthca/libmthca-1.0.6.ebuild +++ b/sys-fabric/libmthca/libmthca-1.0.6.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" @@ -18,3 +18,12 @@ DEPEND="sys-fabric/libibverbs:${SLOT}" RDEPEND="${DEPEND} !sys-fabric/openib-userspace" block_other_ofed_versions + +src_configure() { + econf --disable-static +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
