aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/lilypond.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/lilypond.rb b/Library/Formula/lilypond.rb
index 01c3c55ff..940587851 100644
--- a/Library/Formula/lilypond.rb
+++ b/Library/Formula/lilypond.rb
@@ -17,6 +17,8 @@ class Lilypond < Formula
skip_clean :all
def install
+ abort caveats unless quiet_system "/usr/bin/which -s mpost"
+
gs = Formula.factory('ghostscript')
system "./configure", "--prefix=#{prefix}",
"--with-ncsb-dir=#{gs.share}/ghostscript/fonts/"