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