gnu: yoshimi: Find ncurses with pkg-config.

* gnu/packages/music.scm (yoshimi)[arguments]: Remove obsolete
‘find-ncurses’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-10 01:20:42 +01:00
parent 57b05e4a24
commit 5edc86820f
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1992,17 +1992,7 @@ (define-public yoshimi
(("-msse -msse2 -mfpmath=sse") "")
(("-march=(athlon64|core2)" flag)
(string-append flag " -msse -msse2 -mfpmath=sse")))
#t))
;; Yoshimi tries to find ncurses with pkg-config, but our ncurses
;; package does not install .pc files.
(add-after 'unpack 'find-ncurses
(lambda _
(substitute* "src/CMakeLists.txt"
(("LIBNCURSES REQUIRED") "LIBNCURSES")
(("NCURSES REQUIRED") "NCURSES")
(("FATAL_ERROR \"libncurses") "STATUS \"libncurses")
(("\\$\\{NCURSES_LIBRARIES\\}") "ncurses"))
#t)))))
#t)))))
(inputs
`(("boost" ,boost)
("fftwf" ,fftwf)