diff options
| author | Max Howell | 2012-02-27 03:44:55 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-27 04:05:43 +0000 |
| commit | d4f0ba05c1dd45c1c05c3ec91e2e996546609a70 (patch) | |
| tree | dce36ce4801df2153ffe3480d0fd67d4cf77c7d9 /Library/Formula/libimobiledevice.rb | |
| parent | b0c81fcc5d5744fdad7b1eb0f8ccbf455b2573d3 (diff) | |
| download | homebrew-d4f0ba05c1dd45c1c05c3ec91e2e996546609a70.tar.bz2 | |
depends_on "automake" where necessary
Had to remove full paths, since we have two options for location now.
Diffstat (limited to 'Library/Formula/libimobiledevice.rb')
| -rw-r--r-- | Library/Formula/libimobiledevice.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/libimobiledevice.rb b/Library/Formula/libimobiledevice.rb index 9ea9b3b31..c19480606 100644 --- a/Library/Formula/libimobiledevice.rb +++ b/Library/Formula/libimobiledevice.rb @@ -14,11 +14,16 @@ class Libimobiledevice < Formula depends_on 'usbmuxd' depends_on 'gnutls' + if MacOS.xcode_version >= "4.3" and ARGV.build_head? + depends_on 'libtool' + depends_on 'autoconf' + end + def install if ARGV.build_head? # fix the m4 problem with the missing pkg.m4 - ENV['LIBTOOLIZE'] = "/usr/bin/glibtoolize" - ENV['ACLOCAL'] = "/usr/bin/aclocal -I m4 -I #{HOMEBREW_PREFIX}/share/aclocal" + ENV['LIBTOOLIZE'] = "glibtoolize" + ENV['ACLOCAL'] = "aclocal -I m4 -I #{HOMEBREW_PREFIX}/share/aclocal" ENV.prepend "CFLAGS", "-I#{HOMEBREW_PREFIX}/include" system "autoreconf -ivf" |
