guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: klick: Fix build with latest scons.


From: guix-commits
Subject: 01/01: gnu: klick: Fix build with latest scons.
Date: Fri, 19 Apr 2019 08:24:14 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit f00067dbfbb41a375c170f29fa963bd0acab24d8
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Apr 19 14:22:03 2019 +0200

    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(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 10a23c9..361aba1 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]