aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-05-16 13:28:22 -0700
committerJack Nagel2012-05-16 19:14:36 -0500
commitb7207bc8f8b13fa8caf14381c9f75284e523f501 (patch)
treecef1dcc4290a4aa96c3d9bd2cecafd9b476f0c9d /Library/Formula
parent850de86a6f3f23265290de2a8dc26049b1c44ca6 (diff)
downloadhomebrew-b7207bc8f8b13fa8caf14381c9f75284e523f501.tar.bz2
libdnet: fix deps conditional
Libdnet uses `autoreconf` and has deps on automake and libtool when using XCode-4.3 or greater; however, the previous commit I authored has the wrong conditional where it also checks if the formula is building HEAD. That's not right. There is no HEAD, and `autoreconf` is used for stable. * Remove `if ARGV.build_head?` This was tested on Lion by removing automake, autoconf, and libtool then using `brew install libdnet` which now builds all the deps. It was also tested on SL using the system autotools without any ENV vars set, such as LIBTOOLIZE. Tested with XCode-4.3.2, 4.0.2. Fixes #12280. Closes #12286. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libdnet.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/libdnet.rb b/Library/Formula/libdnet.rb
index 11e5684bc..d7a7924eb 100644
--- a/Library/Formula/libdnet.rb
+++ b/Library/Formula/libdnet.rb
@@ -5,7 +5,7 @@ class Libdnet < Formula
homepage 'http://code.google.com/p/libdnet/'
md5 '9253ef6de1b5e28e9c9a62b882e44cc9'
- if ARGV.build_head? and MacOS.xcode_version >= "4.3"
+ if MacOS.xcode_version >= '4.3'
depends_on "automake" => :build
depends_on "libtool" => :build
end