logstalgia: use new dsl

This commit is contained in:
Adam Vandenberg committed 2012-09-03 18:30:24 -07:00
1 parent 7e7b46cccc
commit 9cfb0cdb0d
1 file changed
+2 -2
+2 -2
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}"