summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-14 21:20:16 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 21:20:16 +0100
commitc784563cfc781e35920cd55931061565e944ce3c (patch)
tree86b0e8a53d32f7d796ce77ea15ef96aecf7110e1 /sys-fabric/libocrdma
parentsys-fabric/libmthca: disable static libs (diff)
downloadgentoo-c784563cfc781e35920cd55931061565e944ce3c.tar.gz
gentoo-c784563cfc781e35920cd55931061565e944ce3c.tar.bz2
gentoo-c784563cfc781e35920cd55931061565e944ce3c.zip
sys-fabric/libocrdma: disable static libs
Closes: https://bugs.gentoo.org/725970 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/libocrdma')
-rw-r--r--sys-fabric/libocrdma/libocrdma-1.0.2.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-fabric/libocrdma/libocrdma-1.0.2.ebuild b/sys-fabric/libocrdma/libocrdma-1.0.2.ebuild
index 35a150e9352..539124d24d1 100644
--- a/sys-fabric/libocrdma/libocrdma-1.0.2.ebuild
+++ b/sys-fabric/libocrdma/libocrdma-1.0.2.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
+}