mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sys-cluster/rdma-core: sync live
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user