From d4f0ba05c1dd45c1c05c3ec91e2e996546609a70 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 27 Feb 2012 03:44:55 +0000 Subject: depends_on "automake" where necessary Had to remove full paths, since we have two options for location now.--- Library/Formula/libagg.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula/libagg.rb') 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", -- cgit v1.2.3