aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-03 14:03:11 -0700
committerAdam Vandenberg2012-09-03 14:03:11 -0700
commit6afe862d9cb5c7dce466add3c4f931df24f2d907 (patch)
treeebf7de3be91901802671ba3978f6f3035420ae5e /Library/Formula
parent1a53d0fda336aceaac55f1694810b54f2749ce89 (diff)
downloadhomebrew-6afe862d9cb5c7dce466add3c4f931df24f2d907.tar.bz2
libimobiledevice: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libimobiledevice.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/libimobiledevice.rb b/Library/Formula/libimobiledevice.rb
index 3efc3d8a5..88dba4717 100644
--- a/Library/Formula/libimobiledevice.rb
+++ b/Library/Formula/libimobiledevice.rb
@@ -14,13 +14,13 @@ class Libimobiledevice < Formula
depends_on 'usbmuxd'
depends_on 'gnutls'
- if ARGV.build_head?
+ if build.head?
depends_on :automake
depends_on :libtool
end
def install
- if ARGV.build_head?
+ if build.head?
# fix the m4 problem with the missing pkg.m4
ENV['LIBTOOLIZE'] = "glibtoolize"
ENV['ACLOCAL'] = "aclocal -I m4 -I #{HOMEBREW_PREFIX}/share/aclocal"