aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-08-25 16:40:18 -0500
committerJack Nagel2012-08-26 18:24:45 -0500
commitf1d7062e37499b8dd6efde1e2d7e75db1a8334b7 (patch)
treef10ad3d7074e6c2d4fb67cccd38461aef009ab1b /Library/Formula
parent1c0fcc4e74045a00b27422e16f8b17462a99eb4e (diff)
downloadhomebrew-f1d7062e37499b8dd6efde1e2d7e75db1a8334b7.tar.bz2
pango: always use our cairo
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pango.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb
index 44fac3ad2..354809d95 100644
--- a/Library/Formula/pango.rb
+++ b/Library/Formula/pango.rb
@@ -25,6 +25,11 @@ class Pango < Formula
end
def install
+ # Always prefer our cairo over XQuartz cairo
+ cairo = Formula.factory('cairo')
+ ENV['CAIRO_CFLAGS'] = "-I#{cairo.include}/cairo"
+ ENV['CAIRO_LIBS'] = "-L#{cairo.lib} -lcairo"
+
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}