Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add more autoconf deps where appropriate

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
commit e98d63ad26c49af92fcd8ae6eef1d15d188bd3a0 1 parent e459d51
@jacknagel jacknagel authored
View
3  Library/Formula/asciidoc.rb
@@ -6,10 +6,11 @@ class Asciidoc < Formula
head 'https://code.google.com/p/asciidoc/', :using => :hg
homepage 'http://www.methods.co.nz/asciidoc'
+ depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3 and ARGV.build_head?
depends_on 'docbook'
def install
- system "autoconf" if ARGV.build_head? and not File.exists? "./configure"
+ system "autoconf" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}"
# otherwise OS X's xmllint bails out
View
2  Library/Formula/bash-completion.rb
@@ -6,7 +6,7 @@ class BashCompletion < Formula
md5 'a1262659b4bbf44dc9e59d034de505ec'
head 'git://git.debian.org/git/bash-completion/bash-completion.git'
- depends_on "automake" if ARGV.build_head? and MacOS.xcode_version >= "4.3"
+ depends_on "automake" => :build if ARGV.build_head? and MacOS.xcode_version.to_f >= 4.3
def install
inreplace "bash_completion" do |s|
View
4 Library/Formula/bulk_extractor.rb
@@ -8,8 +8,8 @@ class BulkExtractor < Formula
depends_on 'afflib' => :optional
depends_on 'exiv2' => :optional
depends_on 'libewf' => :optional
- depends_on 'autoconf' if MacOS.xcode_version >= "4.3"
- depends_on 'automake' if MacOS.xcode_version >= "4.3"
+ depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3
+ depends_on 'automake' => :build if MacOS.xcode_version.to_f >= 4.3
def install
system "autoreconf", "-i"
View
2  Library/Formula/cdparanoia.rb
@@ -5,6 +5,8 @@ class Cdparanoia < Formula
homepage 'http://www.xiph.org/paranoia/'
md5 'b304bbe8ab63373924a744eac9ebc652'
+ depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3
+
fails_with :llvm do
build 2326
cause '"File too small" error while linking'
View
2  Library/Formula/ctags.rb
@@ -7,6 +7,8 @@ class Ctags < Formula
head 'https://ctags.svn.sourceforge.net/svnroot/ctags/trunk'
+ depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3
+
fails_with :llvm do
build 2335
cause "Resulting executable generates erroneous tag files"
View
2  Library/Formula/dash.rb
@@ -7,7 +7,7 @@ class Dash < Formula
head 'https://git.kernel.org/pub/scm/utils/dash/dash.git'
- depends_on "automake" if MacOS.xcode_version >= "4.3" and ARGV.build_head?
+ depends_on "automake" => :build if MacOS.xcode_version >= "4.3" and ARGV.build_head?
def install
if ARGV.build_head?
View
4 Library/Formula/fish.rb
@@ -8,8 +8,8 @@ class Fish < Formula
head 'git://gitorious.org/fish-shell/fish-shell.git'
# Indeed, the head build always builds documentation
- depends_on 'doxygen' if ARGV.build_head?
-
+ depends_on 'doxygen' => :build if ARGV.build_head?
+ depends_on 'autoconf' => :build if MacOS.xcode_version.to_f >= 4.3 and ARGV.build_head?
depends_on 'readline'
skip_clean 'share/doc'
View
2  Library/Formula/libagg.rb
@@ -5,9 +5,9 @@ class Libagg < Formula
url 'http://www.antigrain.com/agg-2.5.tar.gz'
md5 '0229a488bc47be10a2fee6cf0b2febd6'
+ depends_on "automake" => :build if MacOS.xcode_version >= "4.3"
depends_on 'pkg-config' => :build
depends_on 'sdl'
- depends_on "automake" if MacOS.xcode_version >= "4.3"
def install
ENV.x11 # For freetype
View
2  Library/Formula/pcb.rb
@@ -8,6 +8,7 @@ class Pcb < Formula
head 'git://git.gpleda.org/pcb.git'
+ depends_on "automake" => :build if MacOS.xcode_version >= "4.3"
depends_on 'pkg-config' => :build
depends_on 'intltool'
depends_on 'gettext'
@@ -15,7 +16,6 @@ class Pcb < Formula
depends_on 'gd'
depends_on 'glib'
depends_on 'gtkglext'
- depends_on "automake" if MacOS.xcode_version >= "4.3"
# See comments in intltool formula
depends_on 'XML::Parser' => :perl
View
2  Library/Formula/recode.rb
@@ -6,7 +6,7 @@ class Recode < Formula
md5 'f82e9a6ede9119268c13493c9add2809'
depends_on "gettext"
- depends_on "libtool" if MacOS.xcode_version >= "4.3"
+ depends_on "libtool" => :build if MacOS.xcode_version.to_f >= 4.3
# Patches from MacPorts
# No reason for patch given, no link to patches given. Someone shoot that guy :P
View
2  Library/Formula/sound-touch.rb
@@ -5,6 +5,8 @@ class SoundTouch < Formula
homepage 'http://www.surina.net/soundtouch/'
md5 '5456481d8707d2a2c27466ea64a099cb'
+ depends_on 'autoconf' => :build unless MacOS.xcode_version.to_f >= 4.3
+
def install
# SoundTouch has a small amount of inline assembly. The assembly has two labeled
# jumps. When compiling with gcc optimizations the inline assembly is duplicated
View
1  Library/Formula/sshfs.rb
@@ -9,7 +9,6 @@ class Sshfs < Formula
depends_on 'pkg-config' => :build
depends_on 'fuse4x'
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
View
1  Library/Formula/urweb.rb
@@ -7,7 +7,6 @@ class Urweb < Formula
head 'http://hg.impredicative.com/urweb', :using => :hg
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
Please sign in to comment.
Something went wrong with that request. Please try again.