summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-18 15:32:17 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-18 15:32:17 +0200
commitc8f60748bdb9a42b6c8c93abf7a20aeed28d123f (patch)
treebc05f6337782577428b69c7c4d3d518d95f06d83
parent81f61c17c5a46e0ca720395da07d2c96d13e1bcf (diff)
downloadguix-c8f60748bdb9a42b6c8c93abf7a20aeed28d123f.tar.gz
gnu: kbd: Patch buggy makefile.
* gnu/packages/linux.scm (kbd)[source]: Add 'modules' and 'snippet'
  fields.
-rw-r--r--gnu/packages/linux.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 518b0e41b9..2c8e3892b6 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1137,7 +1137,13 @@ system.")
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0c34b0za2v0934acvgnva0vaqpghmmhz4zh7k0m9jd4mbc91byqm"))))
+                "0c34b0za2v0934acvgnva0vaqpghmmhz4zh7k0m9jd4mbc91byqm"))
+              (modules '((guix build utils)))
+              (snippet
+               '(substitute* "tests/Makefile.in"
+                  ;; The '%: %.in' rule incorrectly uses @VERSION@.
+                  (("@VERSION@")
+                   "[@]VERSION[@]")))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases (alist-cons-before