Cario builds with LLVM

This commit is contained in:
Max Howell 2011-09-08 10:37:55 +01:00
parent 7335010745
commit 2c41a177ce

View file

@ -11,15 +11,9 @@ class Cairo < Formula
keg_only :provided_by_osx,
"The Cairo provided by Leopard is too old for newer software to link against."
fails_with_llvm "Gives an LLVM ERROR with Xcode 4 on some CPUs"
fails_with_llvm "Gives an LLVM ERROR with Xcode 4 on some CPUs", :build => 2334
def install
# Cairo doesn't build correctly with llvm-gcc 4.2, so force normal gcc.
# See:
# https://github.com/mxcl/homebrew/issues/6631
# https://trac.macports.org/ticket/30370
# https://trac.macports.org/browser/trunk/dports/graphics/cairo/Portfile
ENV.gcc_4_2
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-x"