summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-14 21:20:13 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 21:20:13 +0100
commita468e82cf7eaf00217d4c7464d1d6b22711821a7 (patch)
tree831a6ac1cd8048f61f642d6afaa859a90f48a13c /sys-fabric/libmthca
parentsys-fabric/libmlx4: disable static libs (diff)
downloadgentoo-a468e82cf7eaf00217d4c7464d1d6b22711821a7.tar.gz
gentoo-a468e82cf7eaf00217d4c7464d1d6b22711821a7.tar.bz2
gentoo-a468e82cf7eaf00217d4c7464d1d6b22711821a7.zip
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@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-fabric/libmthca')
-rw-r--r--sys-fabric/libmthca/libmthca-1.0.6.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-fabric/libmthca/libmthca-1.0.6.ebuild b/sys-fabric/libmthca/libmthca-1.0.6.ebuild
index 12b7d53cec48..498608f416a9 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
+}