summaryrefslogtreecommitdiff
path: root/graphics/lilypond/lilypond.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lilypond/lilypond.SlackBuild')
-rw-r--r--graphics/lilypond/lilypond.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index 027ae1fe62..267d53fb87 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -67,6 +67,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
+# configure does some sed-fu on `fontforge --version` and is finding a git hash
+# instead of a version/date since at least fontforge-20141014.
+# This appears to detect the fontforge build date, which should be good enough.
+patch -p1 < $CWD/patches/detect-fontforge.diff
+
sed -i 's|GUILE_CFLAGS=.*|GUILE_CFLAGS="`pkg-config --cflags guile-1.8`"|' configure
sed -i 's|GUILE_LDFLAGS=.*|GUILE_LDFLAGS="`pkg-config --libs guile-1.8`"|' configure