aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-02-03 13:42:18 -0800
committerAdam Vandenberg2013-02-03 13:42:18 -0800
commitf45d16ce36dfba575a52585d682e80a4994df890 (patch)
tree99a065db22ffa6b27db1b2451193ce6448700a24 /Library/Formula
parentf3510e688884948372b816d86373467e8d088e46 (diff)
downloadhomebrew-f45d16ce36dfba575a52585d682e80a4994df890.tar.bz2
lilypond: specify fontforge build options
Closes #15437.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lilypond.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/lilypond.rb b/Library/Formula/lilypond.rb
index 2f9ae7e0b..42ea37d96 100644
--- a/Library/Formula/lilypond.rb
+++ b/Library/Formula/lilypond.rb
@@ -8,15 +8,15 @@ class Lilypond < Formula
option 'with-doc', "Build documentation in addition to binaries (may require several hours)."
depends_on :tex
+ depends_on :x11
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'pango'
depends_on 'guile'
depends_on 'ghostscript'
depends_on 'mftrace'
- depends_on 'fontforge'
+ depends_on 'fontforge' => ["with-x", "with-cairo"]
depends_on 'texinfo'
- depends_on :x11
# Assert documentation dependencies if requested.
if build.include? 'with-doc'
@@ -28,13 +28,14 @@ class Lilypond < Formula
end
fails_with :clang do
- build 421
+ build 425
cause 'Strict C99 compliance error in a pointer conversion.'
end
def install
gs = Formula.factory('ghostscript')
- system "./configure", "--prefix=#{prefix}", "--enable-rpath",
+ system "./configure", "--prefix=#{prefix}",
+ "--enable-rpath",
"--with-ncsb-dir=#{gs.share}/ghostscript/fonts/"
# Separate steps to ensure that lilypond's custom fonts are created.