aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-22 21:14:18 -0700
committerAdam Vandenberg2012-08-22 21:14:18 -0700
commit69ac7e91944cd31730ab4dad9fed4123a67d7e6e (patch)
treecea64a3392aaf3c7115014de7a0410eb0acc192d /Library
parent1282d9b043c9887e81ae8217b3be8c50a131928b (diff)
downloadhomebrew-69ac7e91944cd31730ab4dad9fed4123a67d7e6e.tar.bz2
tmux: use new dsl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tmux.rb6
1 files changed, 3 insertions, 3 deletions
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",