aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libimobiledevice.rb
diff options
context:
space:
mode:
authorMax Howell2012-02-27 03:44:55 +0000
committerMax Howell2012-02-27 04:05:43 +0000
commitd4f0ba05c1dd45c1c05c3ec91e2e996546609a70 (patch)
treedce36ce4801df2153ffe3480d0fd67d4cf77c7d9 /Library/Formula/libimobiledevice.rb
parentb0c81fcc5d5744fdad7b1eb0f8ccbf455b2573d3 (diff)
downloadhomebrew-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.rb9
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"