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.
This commit is contained in:
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

View file

@ -71,6 +71,11 @@ (define-public extra-cmake-modules
(arguments
`(#: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
;; after testsuire has run
(add-after 'install 'check-post-install