diff --git a/srcpkgs/kauth/patches/crossbuild-support.patch b/srcpkgs/kauth/patches/crossbuild-support.patch index 8f2e529f3e5..e4520405f1b 100644 --- a/srcpkgs/kauth/patches/crossbuild-support.patch +++ b/srcpkgs/kauth/patches/crossbuild-support.patch @@ -12,7 +12,7 @@ - DEPENDS KF5::kauth-policy-gen) + if(CMAKE_CROSSCOMPILING) + add_custom_command(OUTPUT ${_output} -+ COMMAND "/usr/lib/libexec/kauth/kauth-policy-gen" ${_input} ${_output} ++ COMMAND "/usr/libexec/kauth/kauth-policy-gen" ${_input} ${_output} + MAIN_DEPENDENCY ${_input} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + COMMENT "Generating ${HELPER_ID}.policy" diff --git a/srcpkgs/kauth/template b/srcpkgs/kauth/template index 7d7136dc9d0..34d32a40431 100644 --- a/srcpkgs/kauth/template +++ b/srcpkgs/kauth/template @@ -1,7 +1,7 @@ # Template file for 'kauth' pkgname=kauth version=5.100.0 -revision=2 +revision=3 build_style=cmake hostmakedepends="kcoreaddons extra-cmake-modules pkg-config kcoreaddons qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"