aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gource.rb
diff options
context:
space:
mode:
authorMax Howell2012-02-29 01:44:13 +0000
committerMax Howell2012-02-29 02:03:26 +0000
commit56771ee0605a368e765187bdebaed45695ca3e91 (patch)
tree76c0a65f17a16ab0ae8c09332677d54e6e75221b /Library/Formula/gource.rb
parentc5032dee248fad8020036290bc48258e5f65f3e5 (diff)
downloadhomebrew-56771ee0605a368e765187bdebaed45695ca3e91.tar.bz2
More formula that now depend on automake
gst-plugins-base didn't need the autoreconf in any form I could see. So removed.
Diffstat (limited to 'Library/Formula/gource.rb')
-rw-r--r--Library/Formula/gource.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/gource.rb b/Library/Formula/gource.rb
index 0def6000d..c4dfaedd9 100644
--- a/Library/Formula/gource.rb
+++ b/Library/Formula/gource.rb
@@ -13,13 +13,19 @@ class Gource < Formula
depends_on 'pcre'
depends_on 'glew'
+ if MacOS.xcode_version >= "4.3"
+ # download a tarball with configure and remove the need for these!
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
def install
ENV.x11 # Put freetype-config in path
# For non-/usr/local installs
ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include"
- system "autoreconf -f -i" unless File.exist? "configure"
+ system "autoreconf -f -i"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",