aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-27 21:38:10 -0700
committerAdam Vandenberg2012-08-27 21:38:10 -0700
commitbfcf5dd50a66a3b1c26b69b89a009016ad5618eb (patch)
tree014dc57fe033c1795f35ff1bd4043d325634479e /Library
parentaaf15a2286794b4d4865f71c93d1f582207b4abd (diff)
downloadhomebrew-bfcf5dd50a66a3b1c26b69b89a009016ad5618eb.tar.bz2
elinks: use new dsl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/elinks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/elinks.rb b/Library/Formula/elinks.rb
index 0a21606b0..c23d802e9 100644
--- a/Library/Formula/elinks.rb
+++ b/Library/Formula/elinks.rb
@@ -13,7 +13,7 @@ class Elinks < Formula
md5 '92790144290131ac5e63b44548b45e08'
end
- if ARGV.build_head?
+ if build.head?
depends_on :automake
depends_on :libtool
end
@@ -30,7 +30,7 @@ class Elinks < Formula
def install
ENV.deparallelize
ENV.delete('LD')
- system "./autogen.sh" if ARGV.build_head?
+ system "./autogen.sh" if build.head?
system "./configure", "--prefix=#{prefix}", "--without-spidermonkey"
system "make install"
end