commit: da0ee629cf79a2d551a0c7d125501a5df1709a72
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 4 05:01:29 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 4 05:01:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da0ee629
sys-cluster/rdma-core: sync live
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-cluster/rdma-core/rdma-core-9999.ebuild | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/rdma-core/rdma-core-9999.ebuild
b/sys-cluster/rdma-core/rdma-core-9999.ebuild
index bccdb5797fd1..436707f6c472 100644
--- a/sys-cluster/rdma-core/rdma-core-9999.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit cmake perl-functions python-single-r1 udev systemd
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core"
else
SRC_URI="https://github.com/linux-rdma/rdma-core/releases/download/v${PV}/${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv
~s390 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
fi
LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )"
@@ -36,7 +36,7 @@ DEPEND="
${COMMON_DEPEND}
python? (
$(python_gen_cond_dep '
- <dev-python/cython-3[${PYTHON_USEDEP}]
+ dev-python/cython[${PYTHON_USEDEP}]
')
)
"
@@ -67,6 +67,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-39.0-RDMA_BuildType.patch
)
+src_prepare() {
+ # DEFINED is true even if the value is false, which makes lttng
unconditional
+ sed -i -e 's/if (DEFINED ENABLE_LTTNG)/if (ENABLE_LTTNG)/'
CMakeLists.txt || die
+ cmake_src_prepare
+}
+
src_configure() {
perl_set_version