mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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
1 changed files with 1 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue