diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb index e24962d2a9ed..b479c053713d 100644 --- a/Library/Formula/gd.rb +++ b/Library/Formula/gd.rb @@ -14,7 +14,7 @@ class Gd < Formula depends_on :libpng unless build.include? "without-libpng" depends_on 'jpeg' => :recommended unless build.include? "without-jpeg" - depends_on :freetype => :optional if build.include? "with-freetype" + depends_on :freetype if build.include? "with-freetype" fails_with :llvm do build 2326 diff --git a/Library/Formula/libagg.rb b/Library/Formula/libagg.rb index 6b952173ce97..47393705220e 100644 --- a/Library/Formula/libagg.rb +++ b/Library/Formula/libagg.rb @@ -10,7 +10,7 @@ class Libagg < Formula depends_on :automake depends_on 'pkg-config' => :build depends_on 'sdl' - depends_on :freetype => :optional if build.include? "with-freetype" + depends_on :freetype if build.include? "with-freetype" depends_on :libtool unless MacOS.version >= :mountain_lion fails_with :clang do