logstalgia: use new dsl
This commit is contained in:
parent
22e7a6e145
commit
c2e26d0604
1 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue