aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-04-19 14:22:03 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-04-19 14:24:04 +0200
commitf00067dbfbb41a375c170f29fa963bd0acab24d8 (patch)
tree8891367dce894873db96a3701029ec4aaf2191bb
parent35259437a7b13f8573f407c39e8c2c0308123a37 (diff)
downloadguix-f00067dbfbb41a375c170f29fa963bd0acab24d8.tar
guix-f00067dbfbb41a375c170f29fa963bd0acab24d8.tar.gz
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.
-rw-r--r--gnu/packages/music.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 10a23c919f..361aba1a51 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -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)