summaryrefslogtreecommitdiff
path: root/graphics/lilypond/patches/detect-fontforge.diff
blob: 1d3e546dc5cf60033d67698e31dbcc6171a3ba74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -9810,7 +9810,7 @@
 
     if test -z "$_ver"; then
         ## If empty, try date [fontforge]
-        eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep '[0-9]\{6,8\}' \
+        eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep 'libfontforge [0-9]\{6,8\}' \
 	    | head -n 1 \
 	    | sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
     fi