Skip to content

Commit

Permalink
Merge pull request #192660 from Homebrew/the_silver_searcher-updates
Browse files Browse the repository at this point in the history
the_silver_searcher: add `zlib` dependency, update build
  • Loading branch information
BrewTestBot authored Oct 2, 2024
2 parents 9237117 + 1d70f8b commit df404d9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Formula/t/the_silver_searcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ class TheSilverSearcher < Formula
depends_on "pcre"
depends_on "xz"

uses_from_macos "zlib"

def install
ENV.append_to_cflags "-fcommon" if ENV.compiler.to_s.start_with?("gcc")
# Stable tarball does not include pre-generated configure script
system "autoreconf", "-fiv"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "./autogen.sh"
system "./configure", "--disable-silent-rules", *std_configure_args
system "make"
system "make", "install"

bash_completion.install "ag.bashcomp.sh"
system "make", "install", "bashcompdir=#{bash_completion}"
end

test do
Expand Down

0 comments on commit df404d9

Please sign in to comment.