summary refs log tree commit diff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-06-22 09:46:32 -0300
committerGuillaume Le Vaillant <glv@posteo.net>2021-06-22 16:42:55 +0200
commite22a711c97e0501b398467733164da4ee140036e (patch)
treeb070a0c93b335d98a321a40618f8d9068c9f93e9
parent347846ea86e73eb34c2296d6a58edf575c543440 (diff)
downloadguix-e22a711c97e0501b398467733164da4ee140036e.tar.gz
gnu: libngspice: Fix KiCad compilation.
* gnu/packages/engineering.scm (libngspice)[arguments]<#:configure-flags>:
  Pass "--with-readline=no".
  [inputs]: Remove readline.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/engineering.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index bfd0d2f685..1ae9512df1 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1721,14 +1721,15 @@ high-performance parallel differential evolution (DE) optimization algorithm.")
              "--enable-ciderlib"
              "--enable-xspice"
              "--with-ngshared"
-             "--with-readline=yes")))
+             ;; Readline must be disabled to build KiCad with ngspice 34.  See
+             ;; https://bugs.archlinux.org/task/70563 for reference.
+             "--with-readline=no")))
     (native-inputs
      `(("bison" ,bison)
        ("flex" ,flex)))
     (inputs
      `(("libxaw" ,libxaw)
-       ("mpi" ,openmpi)
-       ("readline" ,readline)))
+       ("mpi" ,openmpi)))
     (home-page "http://ngspice.sourceforge.net/")
     (synopsis "Mixed-level/mixed-signal circuit simulator")
     (description