aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-26 22:49:12 -0700
committerAdam Vandenberg2012-08-26 22:49:12 -0700
commit417708522db158185209f00d0aa117ba7d2d3d81 (patch)
treec218ef3b2bd9cf5e867495d6f5322f7dc7848215 /Library/Formula
parente0efb948018dfa5c4424e4013a3d9687c673d0b1 (diff)
downloadhomebrew-417708522db158185209f00d0aa117ba7d2d3d81.tar.bz2
ode: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ode.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/ode.rb b/Library/Formula/ode.rb
index d89d0a040..03c42b20b 100644
--- a/Library/Formula/ode.rb
+++ b/Library/Formula/ode.rb
@@ -9,14 +9,14 @@ class Ode < Formula
depends_on 'pkg-config' => :build
- if ARGV.build_head?
+ if build.head?
# Requires newer automake and libtool
depends_on 'automake' => :build
depends_on 'libtool' => :build
end
def install
- if ARGV.build_head?
+ if build.head?
ENV['LIBTOOLIZE'] = 'glibtoolize'
inreplace 'autogen.sh', 'libtoolize', '$LIBTOOLIZE'
system "./autogen.sh"