all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#29560] [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64.
@ 2017-12-04 10:02 Theodoros Foradis
  2017-12-05 10:12 ` bug#29560: " Danny Milosavljevic
  0 siblings, 1 reply; 2+ messages in thread
From: Theodoros Foradis @ 2017-12-04 10:02 UTC (permalink / raw)
  To: 29560

* 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#29560: [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64.
  2017-12-04 10:02 [bug#29560] [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64 Theodoros Foradis
@ 2017-12-05 10:12 ` Danny Milosavljevic
  0 siblings, 0 replies; 2+ messages in thread
From: Danny Milosavljevic @ 2017-12-05 10:12 UTC (permalink / raw)
  To: Theodoros Foradis; +Cc: 29560-done

Pushed to master as 661a8cdb3ee7939f255f405d31e849c0199df4b7.

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-05 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-04 10:02 [bug#29560] [PATCH] gnu: kicad: Install libraries to PREFIX/lib, not PREFIX/lib64 Theodoros Foradis
2017-12-05 10:12 ` bug#29560: " Danny Milosavljevic

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.