sys-cluster/rdma-core: sync live

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-04 06:01:29 +01:00
parent 4f46e49223
commit da0ee629cf

View File

@@ -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