Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Tagging symbol deps as optional is undefined
Browse files Browse the repository at this point in the history
The current code does not support this behavior, and the X11Dependency
will choke if symbols are passed in the tag field.

Future work will enable this.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel authored and halloleo committed Sep 14, 2012
1 parent ca583d4 commit e5b978d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Library/Formula/gd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/libagg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5b978d

Please sign in to comment.