[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29560] [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PRE
From: |
Theodoros Foradis |
Subject: |
[bug#29560] [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64. |
Date: |
Mon, 4 Dec 2017 12:02:46 +0200 |
* gnu/packages/engineering.scm (kicad)[arguments]:
<phases>: Remove install-lib-3d.
<configure-flags>: Add "-DCMAKE_INSTALL_LIBDIR".
---
gnu/packages/engineering.scm | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5c36de1dd..77b1386b5 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -693,6 +693,8 @@ language.")
(string-take commit 7))
"-DCMAKE_BUILD_TYPE=Release"
"-DKICAD_SKIP_BOOST=ON"; Use our system's boost library.
+ (string-append "-DCMAKE_INSTALL_LIBDIR="
+ (assoc-ref %outputs "out") "/lib")
"-DKICAD_SCRIPTING=ON"
"-DKICAD_SCRIPTING_MODULES=ON"
"-DKICAD_SCRIPTING_WXPYTHON=ON"
@@ -721,14 +723,6 @@ language.")
`("PYTHONPATH" ":" prefix (,path))
`("PATH" ":" prefix
(,(string-append python "/bin:")))))
- #t))
- (add-after 'wrap-program 'install-lib-3d
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (for-each
- (lambda (file)
- (install-file file (string-append (assoc-ref outputs "out")
- "/lib")))
- (find-files "." "^libkicad_3dsg.*"))
#t)))))
(native-inputs
`(("boost" ,boost)
--
2.15.0
- [bug#29560] [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64.,
Theodoros Foradis <=