Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Add more autoconf deps where appropriate
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
jacknagel committed May 15, 2012
1 parent e459d51 commit e98d63a
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 12 deletions.
3 changes: 2 additions & 1 deletion Library/Formula/asciidoc.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/bash-completion.rb
Expand Up @@ -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|
Expand Down
4 changes: 2 additions & 2 deletions Library/Formula/bulk_extractor.rb
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions Library/Formula/cdparanoia.rb
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions Library/Formula/ctags.rb
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/dash.rb
Expand Up @@ -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?
Expand Down
4 changes: 2 additions & 2 deletions Library/Formula/fish.rb
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/libagg.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/pcb.rb
Expand Up @@ -8,14 +8,14 @@ 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'
depends_on 'd-bus'
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
Expand Down
2 changes: 1 addition & 1 deletion Library/Formula/recode.rb
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Library/Formula/sound-touch.rb
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Library/Formula/sshfs.rb
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Library/Formula/urweb.rb
Expand Up @@ -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
Expand Down

0 comments on commit e98d63a

Please sign in to comment.