aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert2010-03-04 10:40:42 +0100
committerAdam Vandenberg2010-03-09 09:38:45 -0800
commita1615eacaf71362dd360b0f211b544422e72c233 (patch)
tree3a56f695afe2389b4630ebf703bb56bbd2ae1115
parent8788c4796cf5b1cfb2c9f355cde6ac2de7b96778 (diff)
downloadhomebrew-a1615eacaf71362dd360b0f211b544422e72c233.tar.bz2
Added jpeg dependency to libgd as it fails to compile without it.
Signed-off-by: Adam Vandenberg <flangy@gmail.com> This issue manifests itself on 10.6 w/ LLVM, and gd may compile fine on other configurations wihtout it. Jpeg is a recommended dependency for this software anyway, though, so add the dep.
-rw-r--r--Library/Formula/gd.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb
index 762db68c3..fa0819d0b 100644
--- a/Library/Formula/gd.rb
+++ b/Library/Formula/gd.rb
@@ -8,6 +8,8 @@ class Gd <Formula
aka :libgd
+ depends_on 'jpeg' => :recommended
+
def install
system "./configure", "--prefix=#{prefix}", "--with-freetype=/usr/X11"
system "make install"