aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2012-08-04 10:10:43 +0100
committerMike McQuaid2012-08-08 18:19:21 +0100
commitef29504865421f63c2629581bc82d7af74f88c24 (patch)
tree6a343f073c597cb0109d5c59878e1899ef2066ce /Library/Formula
parentb5e4cfa10493c66581fb4e3d90137b838ed1ea7a (diff)
downloadhomebrew-ef29504865421f63c2629581bc82d7af74f88c24.tar.bz2
pixman: don't depend on all of X11
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pixman.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/pixman.rb b/Library/Formula/pixman.rb
index 892b541c5..b96cad409 100644
--- a/Library/Formula/pixman.rb
+++ b/Library/Formula/pixman.rb
@@ -6,12 +6,10 @@ class Pixman < Formula
sha256 'c9ab554b5160679d958bfa1753cb9e6edd1e53c4745c963a1394eea4f0b13ce2'
depends_on 'pkg-config' => :build
- depends_on :x11
- keg_only :provided_by_osx, <<-EOS.undent
- Apple provides an outdated version of libpixman in its X11 distribution.
- A more up-to-date version is available in XQuartz.
- EOS
+ keg_only :provided_by_osx,
+ "Apple provides an outdated version of libpixman in its X11 distribution." \
+ if MacOS.x11_installed?
fails_with :llvm do
build 2336