aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pango.rb
diff options
context:
space:
mode:
authorJack Nagel2012-07-03 08:34:01 -0500
committerJack Nagel2012-07-03 08:34:01 -0500
commitec522f627d610c544468bf25a6005beab86011c9 (patch)
tree2037fb228f40886e06c03f1d7e5aef087c3f14e9 /Library/Formula/pango.rb
parent88aa9373d19647a4fc780b9b5f4284d233edaa49 (diff)
downloadhomebrew-ec522f627d610c544468bf25a6005beab86011c9.tar.bz2
Depend on our cairo in GTK+ toolchain
Eventually we should try to just get this from XQuartz, but for now let's depend on cairo for consistency. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/pango.rb')
-rw-r--r--Library/Formula/pango.rb17
1 files changed, 7 insertions, 10 deletions
diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb
index d1ad7736b..8cb94e137 100644
--- a/Library/Formula/pango.rb
+++ b/Library/Formula/pango.rb
@@ -10,16 +10,13 @@ class Pango < Formula
depends_on 'glib'
depends_on :x11
- if MacOS.leopard?
- depends_on 'fontconfig' # Leopard's fontconfig is too old.
- depends_on 'cairo' # Leopard doesn't come with Cairo.
- elsif MacOS.lion?
- # The Cairo library shipped with Lion contains a flaw that causes Graphviz
- # to segfault. See the following ticket for information:
- #
- # https://trac.macports.org/ticket/30370
- depends_on 'cairo'
- end
+ depends_on 'fontconfig' if MacOS.leopard?
+
+ # The Cairo library shipped with Lion contains a flaw that causes Graphviz
+ # to segfault. See the following ticket for information:
+ # https://trac.macports.org/ticket/30370
+ # We depend on our cairo on all platforms for consistency
+ depends_on 'cairo'
fails_with :llvm do
build 2326