guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/4] gnu: extra-cmake-modules: Always install into /lib and not i


From: Hartmut Goebel
Subject: [PATCH 3/4] gnu: extra-cmake-modules: Always install into /lib and not into /lib64.
Date: Mon, 28 Nov 2016 23:20:11 +0100

* gnu/packages/kde-frameworks.scm (extra-cmake-modules)[phases]:
  New phase fix-lib-path.
---
 gnu/packages/kde-frameworks.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 6109436..415b54d 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -71,6 +71,11 @@
     (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
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]