aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-10-13 09:04:07 +0100
committerMike McQuaid2012-10-13 09:04:07 +0100
commit5aee874515b8b2af5bff397b9752bc6a3742c896 (patch)
tree12b4f022d4efd8c0517d7ab6dc96ef0f40fec3b1 /Library
parent14e15fcd46554993d39bcccdfb37832e4e6e7d42 (diff)
downloadhomebrew-5aee874515b8b2af5bff397b9752bc6a3742c896.tar.bz2
gd: use freetype option if X11 is installed.
References #15174.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb
index 7d542c8d9..e9ecc154a 100644
--- a/Library/Formula/gd.rb
+++ b/Library/Formula/gd.rb
@@ -16,7 +16,7 @@ class Gd < Formula
depends_on :libpng unless build.include? "without-libpng"
depends_on 'jpeg' => :recommended unless build.include? "without-jpeg"
depends_on 'giflib' if build.include? "with-giflib"
- depends_on :freetype if build.include? "with-freetype"
+ depends_on :freetype if build.include? "with-freetype" or MacOS::X11.installed?
fails_with :llvm do
build 2326