gnu: yoshimi: Find ncurses with pkg-config.
* gnu/packages/music.scm (yoshimi)[arguments]: Remove obsolete ‘find-ncurses’ phase.
This commit is contained in:
parent
57b05e4a24
commit
5edc86820f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue