aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pango.rb
diff options
context:
space:
mode:
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