aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2012-02-28 11:31:20 -0600
committerJack Nagel2012-02-28 11:36:12 -0600
commitec1f2faf2220f5a1e5aeda49a89fdde56ac3d41d (patch)
treefe80d61e437210f200b0734521fc37c5cd83ed11
parent74b4c03ddcd0cfe0a17330030ab7944ea06eb7fd (diff)
downloadhomebrew-ec1f2faf2220f5a1e5aeda49a89fdde56ac3d41d.tar.bz2
audit: automake, autoconf, and libtool are build-time deps
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/aplus.rb4
-rw-r--r--Library/Formula/automake.rb2
-rw-r--r--Library/Formula/fuse4x.rb4
-rw-r--r--Library/Formula/libdnet.rb4
-rw-r--r--Library/Formula/libimobiledevice.rb4
-rw-r--r--Library/Formula/libmikmod.rb4
-rw-r--r--Library/Formula/sleuthkit.rb4
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb4
8 files changed, 16 insertions, 14 deletions
diff --git a/Library/Formula/aplus.rb b/Library/Formula/aplus.rb
index 59100e2c9..09d25be93 100644
--- a/Library/Formula/aplus.rb
+++ b/Library/Formula/aplus.rb
@@ -12,8 +12,8 @@ class Aplus < Formula
end
if MacOS.xcode_version >= "4.3"
- depends_on "automake"
- depends_on "libtool"
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
end
def install
diff --git a/Library/Formula/automake.rb b/Library/Formula/automake.rb
index 6083f36a0..c3da47773 100644
--- a/Library/Formula/automake.rb
+++ b/Library/Formula/automake.rb
@@ -6,7 +6,7 @@ class Automake < Formula
mirror 'http://ftp.gnu.org/gnu/automake/automake-1.11.3.tar.gz'
md5 '93ecb319f0365cb801990b00f658d026'
- depends_on "autoconf"
+ depends_on "autoconf" => :build
if MacOS.xcode_version.to_f < 4.3 or File.file? "/usr/bin/automake"
keg_only "Xcode (up to and including 4.2) provides (a rather old) Automake."
diff --git a/Library/Formula/fuse4x.rb b/Library/Formula/fuse4x.rb
index 2d44c3caf..017bef5c2 100644
--- a/Library/Formula/fuse4x.rb
+++ b/Library/Formula/fuse4x.rb
@@ -9,8 +9,8 @@ class Fuse4x < Formula
depends_on 'fuse4x-kext'
if MacOS.xcode_version >= "4.3"
- depends_on "automake"
- depends_on "libtool"
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
end
def install
diff --git a/Library/Formula/libdnet.rb b/Library/Formula/libdnet.rb
index 1d066f055..9c1bfbbab 100644
--- a/Library/Formula/libdnet.rb
+++ b/Library/Formula/libdnet.rb
@@ -6,8 +6,8 @@ class Libdnet < Formula
md5 '9253ef6de1b5e28e9c9a62b882e44cc9'
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
- depends_on "automake"
- depends_on "libtool"
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
end
def install
diff --git a/Library/Formula/libimobiledevice.rb b/Library/Formula/libimobiledevice.rb
index c19480606..1a6a53e12 100644
--- a/Library/Formula/libimobiledevice.rb
+++ b/Library/Formula/libimobiledevice.rb
@@ -15,8 +15,8 @@ class Libimobiledevice < Formula
depends_on 'gnutls'
if MacOS.xcode_version >= "4.3" and ARGV.build_head?
- depends_on 'libtool'
- depends_on 'autoconf'
+ depends_on 'libtool' => :build
+ depends_on 'autoconf' => :build
end
def install
diff --git a/Library/Formula/libmikmod.rb b/Library/Formula/libmikmod.rb
index d131221dd..283469ad1 100644
--- a/Library/Formula/libmikmod.rb
+++ b/Library/Formula/libmikmod.rb
@@ -16,8 +16,8 @@ class Libmikmod < Formula
end
if MacOS.xcode_version >= "4.3"
- depends_on "automake"
- depends_on "libtool"
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
end
def install
diff --git a/Library/Formula/sleuthkit.rb b/Library/Formula/sleuthkit.rb
index f733490e3..30dd5c0c9 100644
--- a/Library/Formula/sleuthkit.rb
+++ b/Library/Formula/sleuthkit.rb
@@ -10,8 +10,8 @@ class Sleuthkit < Formula
depends_on 'libewf' => :optional
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
- depends_on "automake"
- depends_on "libtool"
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
end
def install
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index ac67ea0b9..d17ceb25e 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -24,7 +24,9 @@ def audit_formula_text name, text
end
# build tools should be flagged properly
- if text =~ /depends_on ['"](boost-build|cmake|imake|pkg-config|scons|smake)['"]$/
+ build_deps = %w{autoconf automake boost-build cmake
+ imake libtool pkg-config scons smake}
+ if text =~ /depends_on ['"](#{build_deps*'|'})['"]$/
problems << " * #{$1} dependency should be \"depends_on '#{$1}' => :build\""
end