diff options
| author | Adam Vandenberg | 2012-08-26 22:49:12 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-26 22:49:12 -0700 |
| commit | 417708522db158185209f00d0aa117ba7d2d3d81 (patch) | |
| tree | c218ef3b2bd9cf5e867495d6f5322f7dc7848215 /Library/Formula | |
| parent | e0efb948018dfa5c4424e4013a3d9687c673d0b1 (diff) | |
| download | homebrew-417708522db158185209f00d0aa117ba7d2d3d81.tar.bz2 | |
ode: use new dsl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ode.rb | 4 |
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" |
