diff options
| author | Max Howell | 2012-02-29 01:44:13 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-29 02:03:26 +0000 |
| commit | 56771ee0605a368e765187bdebaed45695ca3e91 (patch) | |
| tree | 76c0a65f17a16ab0ae8c09332677d54e6e75221b /Library/Formula | |
| parent | c5032dee248fad8020036290bc48258e5f65f3e5 (diff) | |
| download | homebrew-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')
| -rw-r--r-- | Library/Formula/arabica.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/blitz.rb | 5 | ||||
| -rw-r--r-- | Library/Formula/glog.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/gnu-smalltalk.rb | 5 | ||||
| -rw-r--r-- | Library/Formula/gnuplot.rb | 5 | ||||
| -rw-r--r-- | Library/Formula/gource.rb | 8 | ||||
| -rw-r--r-- | Library/Formula/gst-plugins-base.rb | 1 | ||||
| -rw-r--r-- | Library/Formula/libemu.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/libsgml.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/logstalgia.rb | 8 | ||||
| -rw-r--r-- | Library/Formula/midgard2.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/owfs.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/privoxy.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/robodoc.rb | 5 | ||||
| -rw-r--r-- | Library/Formula/schroedinger.rb | 5 | ||||
| -rw-r--r-- | Library/Formula/sshfs.rb | 11 | ||||
| -rw-r--r-- | Library/Formula/trafficserver.rb | 5 | ||||
| -rw-r--r-- | Library/Formula/urweb.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/zookeeper.rb | 5 |
19 files changed, 112 insertions, 7 deletions
diff --git a/Library/Formula/arabica.rb b/Library/Formula/arabica.rb index 89a7e3a1a..d5d3ad1af 100644 --- a/Library/Formula/arabica.rb +++ b/Library/Formula/arabica.rb @@ -5,6 +5,13 @@ class Arabica < Formula url 'https://github.com/ashb/Arabica/tarball/20100203' md5 '9318c4d498957cd356e533f2132d6956' + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" + depends_on "libtool" + end + def install system "autoreconf" system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" diff --git a/Library/Formula/blitz.rb b/Library/Formula/blitz.rb index 4d7bf5a63..348bc1c85 100644 --- a/Library/Formula/blitz.rb +++ b/Library/Formula/blitz.rb @@ -7,6 +7,11 @@ class Blitz < Formula head 'http://blitz.hg.sourceforge.net:8000/hgroot/blitz/blitz', :using => :hg + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "automake" + depends_on "libtool" + end + def install system "/usr/bin/autoreconf", "-fi" if ARGV.build_head? diff --git a/Library/Formula/glog.rb b/Library/Formula/glog.rb index 6782479ee..5883bcc39 100644 --- a/Library/Formula/glog.rb +++ b/Library/Formula/glog.rb @@ -7,6 +7,13 @@ class Glog < Formula depends_on 'gflags' + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install system "autoreconf -f -i" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb index 735912623..01761af6a 100644 --- a/Library/Formula/gnu-smalltalk.rb +++ b/Library/Formula/gnu-smalltalk.rb @@ -22,6 +22,11 @@ class GnuSmalltalk < Formula depends_on 'libffi' if ARGV.build_head? depends_on 'libsigsegv' if ARGV.build_head? + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "automake" => :build + depends_on "libtool" => :build + end + fails_with_llvm "Codegen problems with LLVM", :build => 2334 def patches diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb index 02a94fcfb..193e94fce 100644 --- a/Library/Formula/gnuplot.rb +++ b/Library/Formula/gnuplot.rb @@ -14,6 +14,11 @@ class Gnuplot < Formula depends_on 'gd' unless ARGV.include? "--nogd" depends_on 'wxmac' if ARGV.include? "--wx" + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "automake" => :build + depends_on "libtool" => :build + end + def options [ ["--pdf", "Build with pdflib-lite support."], 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}", diff --git a/Library/Formula/gst-plugins-base.rb b/Library/Formula/gst-plugins-base.rb index 48ee7809c..219b0ac18 100644 --- a/Library/Formula/gst-plugins-base.rb +++ b/Library/Formula/gst-plugins-base.rb @@ -19,7 +19,6 @@ class GstPluginsBase < Formula depends_on 'libvorbis' => :optional def install - system "autoreconf -f -i" unless File.exist? "configure" # gnome-vfs turned off due to lack of formula for it. MacPorts has it. system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-experimental", diff --git a/Library/Formula/libemu.rb b/Library/Formula/libemu.rb index b3a0a8fcc..9499585a5 100644 --- a/Library/Formula/libemu.rb +++ b/Library/Formula/libemu.rb @@ -14,6 +14,13 @@ class Libemu < Formula [["--enable-python-bindings", "Compile bindings for Python"]] end + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install inreplace 'Makefile.am' do |s| # Need to fix the static location of pkgconfigpath diff --git a/Library/Formula/libsgml.rb b/Library/Formula/libsgml.rb index a790faa3f..2120202f7 100644 --- a/Library/Formula/libsgml.rb +++ b/Library/Formula/libsgml.rb @@ -15,6 +15,13 @@ class Libsgml < Formula ] } end + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install lib.mkpath system "autoreconf -fvi" 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}" diff --git a/Library/Formula/midgard2.rb b/Library/Formula/midgard2.rb index 4e3054739..2aafbf765 100644 --- a/Library/Formula/midgard2.rb +++ b/Library/Formula/midgard2.rb @@ -11,6 +11,13 @@ class Midgard2 < Formula depends_on 'dbus-glib' depends_on 'libgda' + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install if ARGV.build_head? system "autoreconf", "-i", "--force" diff --git a/Library/Formula/owfs.rb b/Library/Formula/owfs.rb index 78df4a685..e831ef60c 100644 --- a/Library/Formula/owfs.rb +++ b/Library/Formula/owfs.rb @@ -8,6 +8,13 @@ class Owfs < Formula depends_on 'libusb-compat' + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install system "autoreconf -ivf" system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/privoxy.rb b/Library/Formula/privoxy.rb index 1f731a9ce..c4c6eb4f6 100644 --- a/Library/Formula/privoxy.rb +++ b/Library/Formula/privoxy.rb @@ -6,6 +6,13 @@ class Privoxy < Formula version '3.0.18' md5 'baf0b13bb591ec6e1ba15b720ddea65c' + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install system "autoreconf -i" system "./configure", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/robodoc.rb b/Library/Formula/robodoc.rb index ae1f171ca..bc620fed3 100644 --- a/Library/Formula/robodoc.rb +++ b/Library/Formula/robodoc.rb @@ -6,6 +6,11 @@ class Robodoc < Formula homepage 'http://rfsber.home.xs4all.nl/Robo/robodoc.html' head 'https://github.com/gumpu/ROBODoc.git' + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install system "autoreconf", "-f", "-i" if ARGV.build_head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" diff --git a/Library/Formula/schroedinger.rb b/Library/Formula/schroedinger.rb index db54aa767..9b2711327 100644 --- a/Library/Formula/schroedinger.rb +++ b/Library/Formula/schroedinger.rb @@ -9,6 +9,11 @@ class Schroedinger < Formula depends_on 'pkg-config' => :build depends_on 'orc' + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install system "autoreconf -i -f" if ARGV.build_head? system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" diff --git a/Library/Formula/sshfs.rb b/Library/Formula/sshfs.rb index a9d5f8bc0..550090b8c 100644 --- a/Library/Formula/sshfs.rb +++ b/Library/Formula/sshfs.rb @@ -10,12 +10,15 @@ class Sshfs < Formula depends_on 'glib' depends_on "automake" if MacOS.xcode_version >= "4.3" + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install - ENV['ACLOCAL'] = "aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal" - ENV['AUTOCONF'] = "autoconf" - ENV['AUTOMAKE'] = "automake" system "autoreconf", "--force", "--install" - system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" diff --git a/Library/Formula/trafficserver.rb b/Library/Formula/trafficserver.rb index bf1db11bf..54868b0d6 100644 --- a/Library/Formula/trafficserver.rb +++ b/Library/Formula/trafficserver.rb @@ -15,6 +15,11 @@ class Trafficserver < Formula depends_on 'pcre' + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install system "autoreconf -i" if ARGV.build_head? diff --git a/Library/Formula/urweb.rb b/Library/Formula/urweb.rb index 7ece1d164..e304a3490 100644 --- a/Library/Formula/urweb.rb +++ b/Library/Formula/urweb.rb @@ -9,6 +9,13 @@ class Urweb < Formula depends_on 'mlton' depends_on "automake" if MacOS.xcode_version >= "4.3" + if MacOS.xcode_version >= "4.3" + # remove the autoreconf if possible, no comment provided about why it is there + # so we have no basis to make a decision at this point. + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install system "aclocal && autoreconf -i --force" system "./configure --prefix=#{prefix}" diff --git a/Library/Formula/zookeeper.rb b/Library/Formula/zookeeper.rb index 4f3c80244..4d2606723 100644 --- a/Library/Formula/zookeeper.rb +++ b/Library/Formula/zookeeper.rb @@ -41,6 +41,11 @@ class Zookeeper < Formula EOS end + if ARGV.build_head? and MacOS.xcode_version >= "4.3" + depends_on "automake" => :build + depends_on "libtool" => :build + end + def install # Don't try to build extensions for PPC if Hardware.is_32_bit? |
