From 5aee874515b8b2af5bff397b9752bc6a3742c896 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 13 Oct 2012 09:04:07 +0100 Subject: gd: use freetype option if X11 is installed. References #15174. --- Library/Formula/gd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3