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,17 +1992,7 @@ capabilities, custom envelopes, effects, etc.")
|
||||||
(("-msse -msse2 -mfpmath=sse") "")
|
(("-msse -msse2 -mfpmath=sse") "")
|
||||||
(("-march=(athlon64|core2)" flag)
|
(("-march=(athlon64|core2)" flag)
|
||||||
(string-append flag " -msse -msse2 -mfpmath=sse")))
|
(string-append flag " -msse -msse2 -mfpmath=sse")))
|
||||||
#t))
|
#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
|
(inputs
|
||||||
`(("boost" ,boost)
|
`(("boost" ,boost)
|
||||||
("fftwf" ,fftwf)
|
("fftwf" ,fftwf)
|
||||||
|
|
Loading…
Reference in New Issue