diff options
author | Anders Larsson <anders.git@larsson.xyz> | 2024-10-29 21:27:25 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-29 21:59:59 +0000 |
commit | 84d7744253a8f1a4c81807574d54e3fb15c2a89d (patch) | |
tree | 2d4a72da42fc0b62d676d64e1bb839e9682f7b29 /net-nds | |
parent | dev-cpp/sdbus-c++: Fix building docs and running tests (diff) | |
download | gentoo-84d7744253a8f1a4c81807574d54e3fb15c2a89d.tar.gz gentoo-84d7744253a8f1a4c81807574d54e3fb15c2a89d.tar.bz2 gentoo-84d7744253a8f1a4c81807574d54e3fb15c2a89d.zip |
net-nds/389-ds-base: Fix systemd support
Bug: https://bugs.gentoo.org/942473
Signed-off-by: Anders Larsson <anders.git@larsson.xyz>
Closes: https://github.com/gentoo/gentoo/pull/39152
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/389-ds-base/389-ds-base-3.0.2.ebuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/net-nds/389-ds-base/389-ds-base-3.0.2.ebuild b/net-nds/389-ds-base/389-ds-base-3.0.2.ebuild index eb95bd5965db..5a5199ac853f 100644 --- a/net-nds/389-ds-base/389-ds-base-3.0.2.ebuild +++ b/net-nds/389-ds-base/389-ds-base-3.0.2.ebuild @@ -231,7 +231,11 @@ src_configure() { $(use_enable ldapi) $(use_with selinux) $(use_with !systemd initddir "/etc/init.d") + $(use_with systemd) $(use_enable test cmocka) + --with-systemdgroupname="dirsrv.target" + --with-tmpfiles-d="${EPREFIX}/usr/lib/tmpfiles.d" + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" --enable-rust-offline --with-pythonexec="${PYTHON}" --with-fhs @@ -240,15 +244,6 @@ src_configure() { --disable-cockpit ) - # https://github.com/389ds/389-ds-base/issues/4292 part 2 - # creates wrongly named unit file if == no - use systemd && myconf+=( - $(use_with systemd) - $(use_with systemdgroupname "dirsrv.target") - $(use_with tmpfiles-d "/usr/lib/tmpfiles.d") - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" - ) - econf "${myeconfargs[@]}" rm .cargo/config || die |