the_silver_searcher: use autoreconf (#13415)

This commit is contained in:
wangpeiwen 2017-05-14 02:30:18 +08:00 committed by FX Coudert
parent 69a514d864
commit ffa9cb0356

View file

@ -14,17 +14,13 @@ class TheSilverSearcher < Formula
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "pkg-config" => :build
depends_on "pcre"
depends_on "xz" => :recommended
def install
# Stable tarball does not include pre-generated configure script
system "aclocal", "-I #{HOMEBREW_PREFIX}/share/aclocal"
system "autoconf"
system "autoheader"
system "automake", "--add-missing"
system "autoreconf", "-fiv"
args = %W[
--disable-dependency-tracking