diff --git a/sys-power/cpupower-gui/cpupower-gui-0.9.1-r4.ebuild b/sys-power/cpupower-gui/cpupower-gui-0.9.1-r5.ebuild similarity index 96% rename from sys-power/cpupower-gui/cpupower-gui-0.9.1-r4.ebuild rename to sys-power/cpupower-gui/cpupower-gui-0.9.1-r5.ebuild index 819823b4ae..6bfca67e80 100644 --- a/sys-power/cpupower-gui/cpupower-gui-0.9.1-r4.ebuild +++ b/sys-power/cpupower-gui/cpupower-gui-0.9.1-r5.ebuild @@ -61,6 +61,9 @@ src_prepare() { } src_configure() { + # patch positional argument for >=meson-0.60 + sed -i '15d' "$S/data/meson.build" + local emesonargs=( $(meson_use pkla) -Dsystemddir=${CPUPOWER_GUI_SYSTEMD_SYSTEM_DIR} diff --git a/sys-power/cpupower-gui/cpupower-gui-1.0.0-r3.ebuild b/sys-power/cpupower-gui/cpupower-gui-1.0.0-r4.ebuild similarity index 95% rename from sys-power/cpupower-gui/cpupower-gui-1.0.0-r3.ebuild rename to sys-power/cpupower-gui/cpupower-gui-1.0.0-r4.ebuild index 218a0ba606..ffe9bb5757 100644 --- a/sys-power/cpupower-gui/cpupower-gui-1.0.0-r3.ebuild +++ b/sys-power/cpupower-gui/cpupower-gui-1.0.0-r4.ebuild @@ -63,9 +63,12 @@ src_prepare() { } src_configure() { + # patch positional argument for >=meson-0.60 + sed -i '15d' "$S/data/meson.build" + local emesonargs=( $(meson_use pkla) - $(meson_use libexec) + $(meson_use libexec use_libexec) -Dsystemddir=${CPUPOWER_GUI_SYSTEMD_SYSTEM_DIR} ) meson_src_configure