From c2e26d0604e7256f942f326d129f8ef1b1b1e8e5 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 3 Sep 2012 18:30:24 -0700 Subject: [PATCH] logstalgia: use new dsl --- Formula/logstalgia.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/logstalgia.rb b/Formula/logstalgia.rb index 8186395b4a..30f7a16a92 100644 --- a/Formula/logstalgia.rb +++ b/Formula/logstalgia.rb @@ -15,7 +15,7 @@ class Logstalgia < Formula depends_on 'pcre' depends_on :x11 - if ARGV.build_head? + if build.head? depends_on :automake depends_on :libtool end @@ -25,7 +25,7 @@ class Logstalgia < Formula ENV.append "CXXFLAGS", "-I#{HOMEBREW_PREFIX}/include" # Handle building head. - system "autoreconf -f -i" if ARGV.build_head? + system "autoreconf -f -i" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"