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
1 changed files with 1 additions and 11 deletions

View File

@ -1992,16 +1992,6 @@ capabilities, custom envelopes, effects, etc.")
(("-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)))))
(inputs
`(("boost" ,boost)