logstalgia: use new dsl

This commit is contained in:
Adam Vandenberg 2012-09-03 18:30:24 -07:00
parent 22e7a6e145
commit c2e26d0604

View file

@ -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}"