aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pango.rb
diff options
context:
space:
mode:
authorJack Nagel2012-09-11 21:49:52 -0500
committerJack Nagel2012-09-11 21:56:59 -0500
commit2ea24125c87bd1e398350a599e331e83bf3674ce (patch)
tree32936cdef04cde15399af1abb34c4261be4c275e /Library/Formula/pango.rb
parent7e6325d839a5589dc2440bbd667a7358f4a7c0cf (diff)
downloadhomebrew-2ea24125c87bd1e398350a599e331e83bf3674ce.tar.bz2
pango: needs newer fontconfig on Leopard
Fixes #14850. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/pango.rb')
-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