me
/
guix
Archived
1
0
Fork 0

gnu: extra-cmake-modules: Fix libexec path.

* gnu/packages/kde-frameworks.scm (extra-cmake-modules)[#:phases]:
Set LIBEXECDIR to 'libexec' instead of 'lib/libexec'.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Sughosha 2023-08-16 13:04:26 +02:00 committed by 宋文武
parent 461602d07c
commit 731413a680
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 5 additions and 3 deletions

View File

@ -126,11 +126,13 @@
(not (null? (package-native-inputs this-package))))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-lib-path
(add-after 'unpack 'fix-lib-and-libexec-path
(lambda _
;; Always install into /lib and not into /lib64.
(substitute* "kde-modules/KDEInstallDirsCommon.cmake"
(("\"lib64\"") "\"lib\""))
;; Always install into /lib and not into /lib64.
(("\"lib64\"") "\"lib\"")
;; Install into /libexec and not into /lib/libexec.
(("LIBDIR \"libexec\"") "EXECROOTDIR \"libexec\""))
;; Determine the install path by the major version of Qt.
;; TODO: Base the following on values taken from Qt