diff options
Diffstat (limited to 'Library/Formula/graphviz.rb')
| -rw-r--r-- | Library/Formula/graphviz.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index 7279fc47d..84602c601 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -7,6 +7,15 @@ class Graphviz < Formula depends_on 'pkg-config' => :build + if ARGV.include? '--with-pdf' + depends_on 'pango' + depends_on 'cairo' if MACOS_VERSION < 10.6 + end + + def options + [["--with-pdf", "Build with Pango/Cairo to support native PDF output"]] + end + def install ENV.x11 # Various language bindings fail with 32/64 issues. |
