aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2012-09-02 01:00:37 -0700
committerMike McQuaid2012-09-04 19:44:41 -0700
commit6bed15d20a96ddddd5cb26582e3049860503a463 (patch)
tree6bc452abe8f5178c456825428746b0b4241b70d4 /Library/Formula
parent3dc94b15d4fe7c584f87636c00b06f2826d2cb0b (diff)
downloadhomebrew-6bed15d20a96ddddd5cb26582e3049860503a463.tar.bz2
libagg: fix SHA1 and X11 dependency.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libagg.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/libagg.rb b/Library/Formula/libagg.rb
index 265159ec1..cc58b2b68 100644
--- a/Library/Formula/libagg.rb
+++ b/Library/Formula/libagg.rb
@@ -5,10 +5,13 @@ class Libagg < Formula
url 'http://www.antigrain.com/agg-2.5.tar.gz'
sha1 '08f23da64da40b90184a0414369f450115cdb328'
+ option 'with-freetype', 'Build with FreeType support'
+
depends_on :automake
- depends_on :x11 # for Freetype
depends_on 'pkg-config' => :build
depends_on 'sdl'
+ depends_on :freetype => :optional if build.include? "with-freetype"
+ depends_on :libtool unless MacOS.mountain_lion?
fails_with :clang do
build 421