aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pixman.rb
diff options
context:
space:
mode:
authorDominick Ng2011-09-09 11:17:43 +1000
committerCharlie Sharpsteen2011-09-14 03:41:36 -0700
commit85ead600dc88d7cd0cc19d2c0b528c13bdbcdcce (patch)
treec28496604390157140e86e139ba53dbb0b2ebda2 /Library/Formula/pixman.rb
parentb0b39e944ac962577ae3332243cec62e0bb6a462 (diff)
downloadhomebrew-85ead600dc88d7cd0cc19d2c0b528c13bdbcdcce.tar.bz2
pango, pixman, graphviz: Fixes for Lion PDF output
Related issue on MacPorts: https://trac.macports.org/ticket/30370 Fixes #6631. Fixes #7140. Fixes #7463. Closes #7523. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
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