aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fontconfig.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/fontconfig.rb b/Library/Formula/fontconfig.rb
index 065b50b44..df431f3bf 100644
--- a/Library/Formula/fontconfig.rb
+++ b/Library/Formula/fontconfig.rb
@@ -8,7 +8,10 @@ class Fontconfig <Formula
# Leopard comes with 2.4.x, which is too old for many packages.
keg_only :provided_by_osx
+ depends_on 'pkg-config'
+
def install
+ ENV.x11
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end