summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-03-25 09:58:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-03-25 10:03:11 +0100
commit7affb2c1ac6213ffc126689f9ac0501b680ce2e6 (patch)
tree4df794a0d6d47f2837e52930a4c153cbc0dda972
parentdd21308225610e7adfcbd1bfa07f72a42d7c7c35 (diff)
downloadguix-7affb2c1ac6213ffc126689f9ac0501b680ce2e6.tar.gz
gnu: lilypond: Fix check for fontforge version.
* gnu/packages/music.scm (lilypond)[arguments]: Patch configure script
  to find actual fontforge version.
-rw-r--r--gnu/packages/music.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ffee9d6245..672f55d2da 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -312,7 +312,10 @@ interface.  It is implemented as a frontend to @code{klick}.")
          (add-before 'configure 'prepare-configuration
           (lambda _
             (substitute* "configure"
-              (("SHELL=/bin/sh") "SHELL=sh"))
+              (("SHELL=/bin/sh") "SHELL=sh")
+              ;; When checking the fontforge version do not consider the
+              ;; version string that's part of the directory.
+              (("head -n") "tail -n"))
             (setenv "out" "www")
             (setenv "conf" "www")
             #t))