summaryrefslogtreecommitdiff
path: root/sys-fabric/libmlx5
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sys-fabric/libmlx5
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-fabric/libmlx5')
-rw-r--r--sys-fabric/libmlx5/Manifest2
-rw-r--r--sys-fabric/libmlx5/libmlx5-1.0.1.ebuild27
2 files changed, 20 insertions, 9 deletions
diff --git a/sys-fabric/libmlx5/Manifest b/sys-fabric/libmlx5/Manifest
index 4a1b1c9a1f7c..5bd2dd30968f 100644
--- a/sys-fabric/libmlx5/Manifest
+++ b/sys-fabric/libmlx5/Manifest
@@ -1,3 +1,3 @@
DIST OFED-3.12-rc1.tgz 22055476 BLAKE2B 49e6411721392f418369a292513709f396fbb0f17001687aa15b5c0acdc91013cc67354e5978df56452178af7fbbd338a7ff408592ff9126a3045b9bb27375fe SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944
-EBUILD libmlx5-1.0.1.ebuild 415 BLAKE2B b5eb058426ed17e2ef483a536d1991278c0677540c863f95b894a07bee8e0ccb75b5a8ad3f6156a28e58527797d7f11f306493fffe10d0edd3cedd95a0143e6f SHA512 86824b72a4da0033340b3297aaf70c53fd9bce3db0cd28a7fc08fb36e77cbb97cc9df97056c14c8591d051fd45ff9b3764973d8e573db6b9ae58586c71378f5d
+EBUILD libmlx5-1.0.1.ebuild 599 BLAKE2B 0d15672c76eac63270fec4a1e0a46283ef9e84217dc5897b56c6cc70820fa7f6ef48fafa5b599ae1c8c601cf706bb1b2040938733763a20a9c724d7b36b7f392 SHA512 6b8df0f6ccbabfe0bfc467d9b9d279ce487cfb8122969ab0228cdc77ac6e054dc497dfb5eadf4deb59942df9c6caddef6dd50e6d2873868ef2aed6831564e6cc
MISC metadata.xml 253 BLAKE2B 2fbd23e1eeca2d6a1474e03aeaa1ad81f16f00141d906ca087f01b67a69e065cac2b3600c2da212ca9fdaf4765788a58ec12b6cd6a45323e5b524dbdb1ce0a77 SHA512 0894860713279dc39bbe7ce3491002710b62c4476198984a0deb6328cb0012c19d7a5546299960bbe600ee240e62a603dd4c4fa04325a753cc0b7c4044c30aba
diff --git a/sys-fabric/libmlx5/libmlx5-1.0.1.ebuild b/sys-fabric/libmlx5/libmlx5-1.0.1.ebuild
index 4b7a5b45ba86..52884509e40b 100644
--- a/sys-fabric/libmlx5/libmlx5-1.0.1.ebuild
+++ b/sys-fabric/libmlx5/libmlx5-1.0.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=6
OFED_VER="3.12"
OFED_RC="1"
@@ -12,11 +12,22 @@ inherit openib
DESCRIPTION="OpenIB userspace driver for Mellanox ConnectIB HCA"
KEYWORDS="amd64 ~x86 ~amd64-linux"
-IUSE=""
-DEPEND="
- sys-fabric/libibverbs:${SLOT}
- "
-RDEPEND="
- !sys-fabric/openib-userspace"
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="!sys-fabric/openib-userspace"
block_other_ofed_versions
+
+src_prepare() {
+ default
+
+ sed -i -e '/CFLAGS=\"$CFLAGS -Werror\"/d' configure || die
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}