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>
This commit is contained in:
parent
461602d07c
commit
731413a680
1 changed files with 5 additions and 3 deletions
|
@ -126,11 +126,13 @@
|
||||||
(not (null? (package-native-inputs this-package))))
|
(not (null? (package-native-inputs this-package))))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-lib-path
|
(add-after 'unpack 'fix-lib-and-libexec-path
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Always install into /lib and not into /lib64.
|
|
||||||
(substitute* "kde-modules/KDEInstallDirsCommon.cmake"
|
(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.
|
;; Determine the install path by the major version of Qt.
|
||||||
;; TODO: Base the following on values taken from Qt
|
;; TODO: Base the following on values taken from Qt
|
||||||
|
|
Reference in a new issue