diff options
| author | nibbles 2bits | 2012-08-03 18:14:13 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-03 19:29:18 -0700 |
| commit | 99decba5fe5cd5e1980e054209ddce32ffb3d173 (patch) | |
| tree | 25a752c2a33d5d37692a72df31d326f7488c27a2 /Library/Formula | |
| parent | 08749cf43504c926e6f6caaffd776abcf6176a09 (diff) | |
| download | homebrew-99decba5fe5cd5e1980e054209ddce32ffb3d173.tar.bz2 | |
graphviz: add universal option
Graphviz can build universally if it is built with a universal
pcre, swig, and gettext. Add a `--universal` option. Change
to using sha1. Leave the `fails_with` build version alone because
Graphviz builds on Mountain Lion with clang-4.0.
Tested on ML with clang and llvm from XCode-4.4.
Fixes #13827
Closes #13927.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/graphviz.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb index 1d50d1810..a92d438bc 100644 --- a/Library/Formula/graphviz.rb +++ b/Library/Formula/graphviz.rb @@ -7,7 +7,7 @@ end class Graphviz < Formula homepage 'http://graphviz.org/' url 'http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.28.0.tar.gz' - md5 '8d26c1171f30ca3b1dc1b429f7937e58' + sha1 '4725d88a13e071ee22e632de551d4a55ca08ee7d' depends_on 'pkg-config' => :build depends_on 'pango' if ARGV.include? '--with-pangocairo' @@ -19,8 +19,11 @@ class Graphviz < Formula end def options - [["--with-pangocairo", "Build with Pango/Cairo for alternate PDF output"], - ["--with[out]-bindings", "Build Perl/Python/Ruby/etc. bindings (default on Lion; may not work on earlier systems)"]] + [ + ["--with-pangocairo", "Build with Pango/Cairo for alternate PDF output"], + ["--with[out]-bindings", "Build Perl/Python/Ruby/etc. bindings (default on Lion; may not work on earlier systems)"], + ['--universal', 'Build Graphviz with universal binaries and libraries'] + ] end def patches @@ -29,6 +32,7 @@ class Graphviz < Formula end def install + ENV.universal_binary if ARGV.build_universal? args = ["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", |
