aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/logstalgia.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/logstalgia.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/logstalgia.rb')
-rw-r--r--Library/Formula/logstalgia.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/logstalgia.rb b/Library/Formula/logstalgia.rb
index 02c556509..37085b19a 100644
--- a/Library/Formula/logstalgia.rb
+++ b/Library/Formula/logstalgia.rb
@@ -13,6 +13,12 @@ class Logstalgia < Formula
depends_on 'jpeg'
depends_on 'pcre'
+ if ARGV.build_head? and MacOS.xcode_version >= "4.3"
+ depends_on "automake"
+ depends_on "libtool"
+ end
+
+
def install
ENV.x11 # Put freetype-config in path
@@ -20,7 +26,7 @@ class Logstalgia < Formula
ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include"
# Handle building head.
- system "autoreconf -f -i" unless File.exist? "configure"
+ system "autoreconf -f -i" if ARGV.build_head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"