From f00067dbfbb41a375c170f29fa963bd0acab24d8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 19 Apr 2019 14:22:03 +0200 Subject: 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. --- gnu/packages/music.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gnu/packages/music.scm') 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) -- cgit 1.4.1