From 2ea24125c87bd1e398350a599e331e83bf3674ce Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 11 Sep 2012 21:49:52 -0500 Subject: pango: needs newer fontconfig on Leopard Fixes #14850. Signed-off-by: Jack Nagel --- Library/Formula/pango.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3