aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libagg.rb
diff options
context:
space:
mode:
authorMax Howell2012-02-27 03:44:55 +0000
committerMax Howell2012-02-27 04:05:43 +0000
commitd4f0ba05c1dd45c1c05c3ec91e2e996546609a70 (patch)
treedce36ce4801df2153ffe3480d0fd67d4cf77c7d9 /Library/Formula/libagg.rb
parentb0c81fcc5d5744fdad7b1eb0f8ccbf455b2573d3 (diff)
downloadhomebrew-d4f0ba05c1dd45c1c05c3ec91e2e996546609a70.tar.bz2
depends_on "automake" where necessary
Had to remove full paths, since we have two options for location now.
Diffstat (limited to 'Library/Formula/libagg.rb')
-rw-r--r--Library/Formula/libagg.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/libagg.rb b/Library/Formula/libagg.rb
index a386b20d4..855cb9033 100644
--- a/Library/Formula/libagg.rb
+++ b/Library/Formula/libagg.rb
@@ -7,16 +7,17 @@ class Libagg < Formula
depends_on 'pkg-config' => :build
depends_on 'sdl'
+ depends_on "automake" if MacOS.xcode_version >= "4.3"
def install
ENV.x11 # For freetype
# No configure script. We need to run autoreconf, and aclocal and automake
# need some direction.
- ENV['ACLOCAL'] = "/usr/bin/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal" # To find SDL m4 files
+ ENV['ACLOCAL'] = "aclocal -I#{HOMEBREW_PREFIX}/share/aclocal" # To find SDL m4 files
# This part snatched from MacPorts
- ENV['AUTOMAKE'] = "/usr/bin/automake --foreign --add-missing --ignore-deps"
- system "/usr/bin/autoreconf -fi"
+ ENV['AUTOMAKE'] = "automake --foreign --add-missing --ignore-deps"
+ system "autoreconf -fi"
system "./configure",
"--disable-debug",