diff options
| author | Mike McQuaid | 2012-08-04 10:09:35 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2012-08-08 18:19:21 +0100 |
| commit | b5e4cfa10493c66581fb4e3d90137b838ed1ea7a (patch) | |
| tree | 99bce680c850cc2da25bd6e36b0b7e267d56a5d1 /Library/Formula | |
| parent | 3895b9c415ef0b6dd10a0b69d69e88f203ac8604 (diff) | |
| download | homebrew-b5e4cfa10493c66581fb4e3d90137b838ed1ea7a.tar.bz2 | |
fontconfig: don't depend on all of X11
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fontconfig.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/fontconfig.rb b/Library/Formula/fontconfig.rb index 6cca59f95..06dc2bd57 100644 --- a/Library/Formula/fontconfig.rb +++ b/Library/Formula/fontconfig.rb @@ -6,10 +6,11 @@ class Fontconfig < Formula sha1 'e377cbe989cd22d3a10020309c906ecbbcac0043' keg_only :provided_by_osx, - "Leopard comes with version 2.4.x, which is too old for many packages." + "Leopard comes with version 2.4.x, which is too old for many packages." \ + if MacOS.x11_installed? + depends_on :freetype depends_on 'pkg-config' => :build - depends_on :x11 def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" |
