From 69ac7e91944cd31730ab4dad9fed4123a67d7e6e Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 22 Aug 2012 21:14:18 -0700 Subject: tmux: use new dsl --- Library/Formula/tmux.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb index 5084bd84e..802991de0 100644 --- a/Library/Formula/tmux.rb +++ b/Library/Formula/tmux.rb @@ -10,7 +10,7 @@ class Tmux < Formula depends_on 'pkg-config' => :build depends_on 'libevent' - if ARGV.build_head? + if build.head? depends_on :automake depends_on :libtool end @@ -20,11 +20,11 @@ class Tmux < Formula # NOTE: it applies to 1.6 only, and should be removed when 1.7 is out. # (because it has been merged upstream) def patches - DATA if ARGV.build_stable? + DATA if build.stable? end def install - system "sh", "autogen.sh" if ARGV.build_head? + system "sh", "autogen.sh" if build.head? ENV.append "LDFLAGS", '-lresolv' system "./configure", "--disable-dependency-tracking", -- cgit v1.2.3