aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorKevin Moore2012-02-29 12:13:21 -0800
committerAdam Vandenberg2012-03-14 17:27:57 -0700
commite390d5011919b02b9c339f86723c412260145fd0 (patch)
tree65d0d8f0e11b08477d2f3a676dff5f609ba693a2 /Library
parent4b3d85ec8aef730dfbde767cf5c9bb6a51ba999f (diff)
downloadhomebrew-e390d5011919b02b9c339f86723c412260145fd0.tar.bz2
graphviz: force build with llvm instead of clang
(Same technique being used for Qt.) Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/graphviz.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/graphviz.rb b/Library/Formula/graphviz.rb
index ced286086..4beee47a6 100644
--- a/Library/Formula/graphviz.rb
+++ b/Library/Formula/graphviz.rb
@@ -34,6 +34,10 @@ class Graphviz < Formula
args << "--disable-swig" unless build_bindings?
args << "--without-pangocairo" unless ARGV.include? '--with-pangocairo'
+ # Compilation currently fails with the newer versions of clang
+ # shipped with Xcode 4.3+
+ ENV.llvm if MacOS.clang_version.to_f <= 3.1
+
system "./configure", *args
system "make install"