aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-09-02 19:02:17 -0700
committerAdam Vandenberg2011-09-02 19:02:17 -0700
commitcec3f615bea979566a74d394c0e9f3959a432cdf (patch)
treeaf1bc8f54536b043c24b562467ffcbdf558c825e /Library/Formula
parentcd41ed67380a53d46e4cd9a9b7ad2886b04300ae (diff)
downloadhomebrew-cec3f615bea979566a74d394c0e9f3959a432cdf.tar.bz2
Cairo: use gcc 4.2 instead of llvm
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cairo.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb
index 019a0a8ca..c921cf677 100644
--- a/Library/Formula/cairo.rb
+++ b/Library/Formula/cairo.rb
@@ -14,6 +14,12 @@ class Cairo < Formula
fails_with_llvm "Gives an LLVM ERROR with Xcode 4 on some CPUs"
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"