commit:     561d2d1e6292412a50dbcd379cfcfda76ed7611b
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 12 19:49:56 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 19:53:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=561d2d1e

sys-cluster/rdma-core: sync live

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-cluster/rdma-core/rdma-core-9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/rdma-core/rdma-core-9999.ebuild 
b/sys-cluster/rdma-core/rdma-core-9999.ebuild
index 0fa2ec46e46b..07c5665528d4 100644
--- a/sys-cluster/rdma-core/rdma-core-9999.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..11} )
 
-inherit cmake python-single-r1 udev systemd
+inherit cmake perl-functions python-single-r1 udev systemd
 
 DESCRIPTION="Userspace components for the Linux Kernel's drivers/infiniband 
subsystem"
 HOMEPAGE="https://github.com/linux-rdma/rdma-core";
@@ -60,10 +60,12 @@ BDEPEND="
 PATCHES=( "${FILESDIR}"/${PN}-39.0-RDMA_BuildType.patch )
 
 src_configure() {
+       perl_set_version
        local mycmakeargs=(
                -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc
                -DCMAKE_INSTALL_RUNDIR=/run
                -DCMAKE_INSTALL_SHAREDSTATEDIR="${EPREFIX}"/var/lib
+               -DCMAKE_INSTALL_PERLDIR="${VENDOR_LIB}"
                -DCMAKE_INSTALL_UDEV_RULESDIR="${EPREFIX}$(get_udevdir)"/rules.d
                
-DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)"
                -DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex !systemd)"
@@ -80,8 +82,7 @@ src_configure() {
 src_install() {
        cmake_src_install
 
-       udev_dorules "${ED}"/etc/udev/rules.d/70-persistent-ipoib.rules
-       rm -r "${ED}"/etc/{udev,init.d} || die
+       udev_dorules "${ED}"/usr/share/doc/${PF}/70-persistent-ipoib.rules
 
        if use neigh; then
                newinitd "${FILESDIR}"/ibacm.init ibacm

Reply via email to