From 7affb2c1ac6213ffc126689f9ac0501b680ce2e6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 25 Mar 2016 09:58:57 +0100 Subject: [PATCH] gnu: lilypond: Fix check for fontforge version. * gnu/packages/music.scm (lilypond)[arguments]: Patch configure script to find actual fontforge version. --- gnu/packages/music.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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))