gnu: extra-cmake-modules: Always install into /lib and not into /lib64.
* gnu/packages/kde-frameworks.scm (extra-cmake-modules)[phases]: New phase fix-lib-path.master
parent
c1265fcc70
commit
7b722e3cba
|
@ -71,6 +71,11 @@
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-lib-path
|
||||||
|
(lambda _
|
||||||
|
;; Always install into /lib and not into /lib64.
|
||||||
|
(substitute* "kde-modules/KDEInstallDirs.cmake"
|
||||||
|
(("\"lib64\"") "\"lib\""))))
|
||||||
;; install and check phase are swapped to prevent install from failing
|
;; install and check phase are swapped to prevent install from failing
|
||||||
;; after testsuire has run
|
;; after testsuire has run
|
||||||
(add-after 'install 'check-post-install
|
(add-after 'install 'check-post-install
|
||||||
|
|
Reference in New Issue