graphviz: actually depends on freetype rather than gd.
References Homebrew/homebrew#14646.
This commit is contained in:
parent
4dddef996c
commit
61bc83f206
1 changed files with 4 additions and 2 deletions
|
@ -10,6 +10,7 @@ class Graphviz < Formula
|
|||
option :universal
|
||||
option 'with-bindings', 'Build Perl/Python/Ruby/etc. bindings'
|
||||
option 'with-pangocairo', 'Build with Pango/Cairo for alternate PDF output'
|
||||
option 'with-freetype', 'Build with FreeType support'
|
||||
option 'with-app', 'Build GraphViz.app (requires full XCode install)'
|
||||
|
||||
depends_on :libpng
|
||||
|
@ -17,8 +18,8 @@ class Graphviz < Formula
|
|||
depends_on 'pkg-config' => :build
|
||||
depends_on 'pango' if build.include? 'with-pangocairo'
|
||||
depends_on 'swig' if build.include? 'with-bindings'
|
||||
depends_on :freetype if build.include? 'with-freetype'
|
||||
depends_on :xcode if build.include? 'with-app'
|
||||
depends_on 'gd'
|
||||
|
||||
fails_with :clang do
|
||||
build 318
|
||||
|
@ -34,11 +35,12 @@ class Graphviz < Formula
|
|||
args = ["--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--with-qt=no",
|
||||
"--without-qt",
|
||||
"--without-x",
|
||||
"--with-quartz"]
|
||||
args << "--disable-swig" unless build.include? 'with-bindings'
|
||||
args << "--without-pangocairo" unless build.include? 'with-pangocairo'
|
||||
args << "--without-freetype2" unless build.include? 'with-freetype'
|
||||
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
|
|
Loading…
Reference in a new issue