gnu: ngspice: Build with readline support.

Fixes <https://issues.guix.gnu.org/>.

* gnu/packages/engineering.scm (ngspice)
[configure-flags]: Add '--with-readline=yes'.

Reported-by: Christopher Howard <christopher@librehacker.com>
This commit is contained in:
Maxim Cournoyer 2022-06-08 17:09:41 -04:00
parent 3f922e229b
commit 8ef651b44c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1840,7 +1840,8 @@ (define-public ngspice
(arguments (arguments
(substitute-keyword-arguments (package-arguments libngspice) (substitute-keyword-arguments (package-arguments libngspice)
((#:configure-flags flags) ((#:configure-flags flags)
`(delete "--with-ngshared" ,flags)) `(cons "--with-readline=yes"
(delete "--with-ngshared" ,flags)))
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases `(modify-phases ,phases
(add-after 'unpack 'delete-include-files (add-after 'unpack 'delete-include-files