commit:     3df1e290ea0cd56275955c3767d09f2ddc4648e6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 19:24:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 16 19:35:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df1e290

sys-fabric/ibacm: fix pthread linkage

Closes: https://bugs.gentoo.org/611778
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fabric/ibacm/ibacm-1.0.8.ebuild | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/sys-fabric/ibacm/ibacm-1.0.8.ebuild 
b/sys-fabric/ibacm/ibacm-1.0.8.ebuild
index 2872d490e17..24f54d5d2f0 100644
--- a/sys-fabric/ibacm/ibacm-1.0.8.ebuild
+++ b/sys-fabric/ibacm/ibacm-1.0.8.ebuild
@@ -1,22 +1,33 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI="6"
 
 OFED_VER="3.12"
 OFED_RC="1"
 OFED_RC_VER="1"
 OFED_SUFFIX="1"
 
-inherit openib
+inherit autotools openib
 
 DESCRIPTION="IB CM pre-connection service application"
 KEYWORDS="amd64 ~x86 ~amd64-linux"
-IUSE=""
 
 RDEPEND="
        sys-fabric/libibumad:${SLOT}
        sys-fabric/libibverbs:${SLOT}
 "
 DEPEND="${RDEPEND}"
+
 block_other_ofed_versions
+
+PATCHES=(
+       "${FILESDIR}"/${P}-fix-pthread-linkage.patch
+)
+
+src_prepare() {
+       default
+
+       # Needed for pthread fix (bug #611778)
+       eautoreconf
+}

Reply via email to