aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde-frameworks.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 4857cf2354..8b841330b8 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1203,6 +1203,17 @@ uses a job-based interface to queue tasks and execute them in an efficient way."
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cmake-install-directories
+ (lambda _
+ ;; Make packages using kauth put their policy files and helpers
+ ;; into their own prefix.
+ (substitute* "KF5AuthConfig.cmake.in"
+ (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
+ "${KDE_INSTALL_DATADIR}/polkit-1/actions")
+ (("@KAUTH_HELPER_INSTALL_DIR@")
+ "${KDE_INSTALL_LIBEXECDIR}")
+ (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
+ "${KDE_INSTALL_LIBEXECDIR}"))))
(replace 'check
(lambda _
(setenv "DBUS_FATAL_WARNINGS" "0")