gnu: klick: Fix build with latest scons.

* gnu/packages/music.scm (klick)[arguments]: Patch "SConstruct" file to make
it compatible with the current version of scons.
This commit is contained in:
Ricardo Wurmus 2019-04-19 14:22:03 +02:00
parent 35259437a7
commit f00067dbfb
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 10 additions and 1 deletions

View File

@ -721,7 +721,16 @@ audio and video).")
(arguments
`(#:scons-flags (list (string-append "PREFIX=" %output))
#:scons ,scons-python2
#:tests? #f)) ;no "check" target
#:tests? #f ; no "check" target
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'replace-removed-scons-syntax
(lambda _
(substitute* "SConstruct"
(("BoolOption") "BoolVariable")
(("PathOption") "PathVariable")
(("Options") "Variables"))
#t)))))
(inputs
`(("boost" ,boost)
("jack" ,jack-1)