gd: use freetype option if X11 is installed.

References Homebrew/homebrew#15174.
master
Mike McQuaid 2012-10-13 09:04:07 +01:00
parent 170459c5d5
commit ce8cccfa64
1 changed files with 1 additions and 1 deletions

View File

@ -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