aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cairo.rb
diff options
context:
space:
mode:
authorJack Nagel2012-08-09 02:00:58 -0500
committerJack Nagel2012-08-12 17:28:15 -0500
commit2eef46ae5a5aafd408aa0d4263377d448dfb74d4 (patch)
tree2435fd5c4579ad89c0f466375282a90909f5370a /Library/Formula/cairo.rb
parentbfeecd5ce5e7749139cfb708c0fa5a0c0a31a7bc (diff)
downloadhomebrew-2eef46ae5a5aafd408aa0d4263377d448dfb74d4.tar.bz2
Add :when_xquartz_installed as a keg-only reason
Using :when_xquartz_installed will tell the keg-only machinery to activate if XQuartz is installed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/cairo.rb')
-rw-r--r--Library/Formula/cairo.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb
index 7fdff0726..258e32f88 100644
--- a/Library/Formula/cairo.rb
+++ b/Library/Formula/cairo.rb
@@ -5,9 +5,7 @@ class Cairo < Formula
url 'http://cairographics.org/releases/cairo-1.12.2.tar.xz'
sha256 'b786bc4a70542bcb09f2d9d13e5e6a0c86408cbf6d1edde5f0de807eecf93f96'
- keg_only :provided_by_osx,
- "The Cairo provided by Leopard is too old for newer software to link against." \
- if MacOS::X11.installed?
+ keg_only :when_xquartz_installed
option :universal
option 'without-x', 'Build without X11 support'