sys-auth/elogind: override paths for several binaries

This ensures consistent behavior on merged-usr and split-usr systems.

Closes: https://bugs.gentoo.org/945965
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2025-01-28 11:53:34 -05:00
parent d5e19217a5
commit 06ca014dde
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -116,6 +116,13 @@ src_configure() {
-Dtests=$(usex test true false)
-Dutmp=$(usex elibc_musl false true)
-Dmode=release
# Ensure consistenct between merged-usr and split-usr (bug 945965)
-Dhalt-path="${EPREFIX}/sbin/halt"
-Dkexec-path="${EPREFIX}/usr/sbin/kexec"
-Dnologin-path="${EPREFIX}/sbin/nologin"
-Dpoweroff-path="${EPREFIX}/sbin/poweroff"
-Dreboot-path="${EPREFIX}/sbin/reboot"
)
meson_src_configure