Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
lilypond: specify fontforge build options
Browse files Browse the repository at this point in the history
Closes #15437.
  • Loading branch information
adamv authored and n1k0 committed Feb 13, 2013
1 parent a6aef74 commit 3cb8924
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Library/Formula/lilypond.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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.
Expand Down

0 comments on commit 3cb8924

Please sign in to comment.