recode: patch incorrect -flat_namespace usage (#88179)

This is needed for bottling on Monterey.
master
Carlo Cabrera 2021-10-28 19:48:11 +08:00 committed by GitHub
parent 9b54391be5
commit 066b493d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ class Recode < Formula
depends_on "python@3.9" => :build
depends_on "gettext"
# Fix -flat_namespace being used on Big Sur and later.
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff"
sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c"
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"