me
/
guix
Archived
1
0
Fork 0

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
Hartmut Goebel 2016-11-24 19:13:46 +01:00
parent c1265fcc70
commit 7b722e3cba
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 5 additions and 0 deletions

View File

@ -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