aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pixman.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pixman.rb')
-rw-r--r--Library/Formula/pixman.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/pixman.rb b/Library/Formula/pixman.rb
index e284e56d1..9655dac87 100644
--- a/Library/Formula/pixman.rb
+++ b/Library/Formula/pixman.rb
@@ -8,6 +8,13 @@ class Pixman < Formula
depends_on 'pkg-config' => :build
def install
+ if ENV.compiler == :llvm
+ if MacOS.xcode_version == "4.1"
+ ENV.clang
+ else
+ ENV.gcc_4_2
+ end
+ end
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-gtk=no" # Don't need to build tests