From 213926c4f11339b707201a59d81ba5247b5002c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 22 Nov 2022 09:49:44 +0700 Subject: [PATCH] kauth: fix cmake config for libexecdir --- srcpkgs/kauth/patches/crossbuild-support.patch | 2 +- srcpkgs/kauth/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"