commit:     dbae35153bd7980f4171052f8c5e5216b8cb6911
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 18:55:15 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 19:00:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbae3515

sys-apps/openrc: fix build

We dropped the use of --rootprefix upstream.
The ebuild needs to pass --bindir and --sbindir to the build in order to
install the appropriate portions of openrc in /bin and /sbin.

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-apps/openrc/openrc-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-apps/openrc/openrc-9999.ebuild 
b/sys-apps/openrc/openrc-9999.ebuild
index 85e422dc5993..45409f32d5a4 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -52,13 +52,14 @@ PDEPEND="netifrc? ( net-misc/netifrc )"
 
 src_configure() {
        local emesonargs=(
+       --bindir=/bin
+       --sbindir=/sbin
                $(meson_feature audit)
                "-Dbranding=\"Gentoo Linux\""
                $(meson_use newnet)
                -Dos=Linux
                $(meson_use pam)
                $(meson_feature selinux)
-               -Drootprefix="${EPREFIX}"
                -Dshell=$(usex bash /bin/bash /bin/sh)
                $(meson_use sysv-utils sysvinit)
        )

Reply via email to