graphviz: force build with llvm instead of clang

(Same technique being used for Qt.)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Kevin Moore 2012-02-29 12:13:21 -08:00 committed by Adam Vandenberg
parent 2ad7447b69
commit cbeae5ea4b
1 changed files with 4 additions and 0 deletions

View File

@ -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"