mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: kauth: Fix cmake macros to be used by other packages.
* gnu/packages/kde-framework.scm (kauth)[phases]: New phase fix-cmake-install-paths.
This commit is contained in:
parent
7b722e3cba
commit
dc2ef09ad7
1 changed files with 11 additions and 0 deletions
|
@ -1203,6 +1203,17 @@ (define-public kauth
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue