aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pango.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb
index 4edef0327..d47f2ebd1 100644
--- a/Library/Formula/pango.rb
+++ b/Library/Formula/pango.rb
@@ -10,9 +10,14 @@ class Pango < Formula
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'glib'
- depends_on :fontconfig
depends_on :x11 unless build.include? 'without-x'
+ if MacOS.version == :leopard
+ depends_on 'fontconfig'
+ else
+ depends_on :fontconfig
+ end
+
# 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