diff --git a/srcpkgs/kf6-kcmutils/template b/srcpkgs/kf6-kcmutils/template
index 4297c8a9fa9..c4490d923c3 100644
--- a/srcpkgs/kf6-kcmutils/template
+++ b/srcpkgs/kf6-kcmutils/template
@@ -6,8 +6,8 @@ build_style=cmake
 build_helper=qemu
 configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
  -DKDE_INSTALL_QMLDIR=lib/qt6/qml"
-hostmakedepends="extra-cmake-modules qt6-tools qt6-base
- qt6-declarative-host-tools gettext kf6-kconfig"
+hostmakedepends="extra-cmake-modules gettext qt6-tools qt6-base
+ qt6-declarative-host-tools kf6-kconfig"
 makedepends="kf6-kconfigwidgets-devel kf6-kcoreaddons-devel kf6-kio-devel
  kf6-kxmlgui-devel kf6-kconfig-devel"
 checkdepends="kf6-kirigami"
diff --git a/srcpkgs/kio/template b/srcpkgs/kio/template
index 4acd7b49a7e..9c51a82815f 100644
--- a/srcpkgs/kio/template
+++ b/srcpkgs/kio/template
@@ -5,6 +5,7 @@ revision=2
 build_style=cmake
 build_helper=qemu
 configure_args="-DBUILD_DESIGNERPLUGIN=ON
+ -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5
  -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson
  -DKF6_COMPAT_BUILD=ON"
 hostmakedepends="kcoreaddons extra-cmake-modules kauth gettext