lilypond: specify fontforge build options

Closes Homebrew/homebrew#15437.
master
Adam Vandenberg 2013-02-03 13:42:18 -08:00
parent 93a9b05bfd
commit cd5cc038c1
1 changed files with 5 additions and 4 deletions

View File

@ -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.