diff --git a/sys-power/switcheroo-control/switcheroo-control-3.0.ebuild b/sys-power/switcheroo-control/switcheroo-control-3.0.ebuild index 1854fa88c0fd..b5b0f11fd37f 100644 --- a/sys-power/switcheroo-control/switcheroo-control-3.0.ebuild +++ b/sys-power/switcheroo-control/switcheroo-control-3.0.ebuild @@ -55,7 +55,7 @@ src_prepare() { src_configure() { local emesonargs=( - -Drulesdir="$(get_udevdir)"/rules.d + -Drulesdir="${EPREFIX}"/"$(get_udevdir)"/rules.d -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)" $(meson_use gtk-doc gtk_doc) $(meson_use test tests)