Skip to content

Commit

Permalink
Merge pull request #134380 from carlocab/got-openssl3
Browse files Browse the repository at this point in the history
got: switch to `openssl@3`
  • Loading branch information
BrewTestBot authored Jun 21, 2023
2 parents 2692b5b + 2145394 commit 3709df9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Formula/got.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,28 @@ class Got < Formula
url "https://gameoftrees.org/releases/portable/got-portable-0.89.tar.gz"
sha256 "27404932c07713400124c15e318417385411b7a1fe7ee534e48f2b9e4f096d8c"
license "ISC"
revision 1

livecheck do
url "https://gameoftrees.org/releases/portable/"
regex(/href=.*?got-portable[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 arm64_ventura: "fddc377172ad680cc6f707cc49f70140599c53516bd201c175bd4489b2490266"
sha256 arm64_monterey: "87d126c760d9149fc587630562d35119fe4bf7865f78e2fbc920a6d789d57cb3"
sha256 arm64_big_sur: "362a74de535152f0961067c6fd52ca624eae1987ae4662df621751fd04bfedf9"
sha256 ventura: "b9e89c415a9af989a48d3f2ed74ac01d4d94b0d78125d1e0e8320063605e2f66"
sha256 monterey: "70d094c0e870882442a3cd0474ac0fa0f4b39e09143e9d9210357b435d07b2a4"
sha256 big_sur: "2e6654b7a15973f706e6c1952b34f62c4902a4379f705fcb0d7dbd16bffc01e3"
sha256 x86_64_linux: "688fc4548da28085638c1bb821c94ad24c17bf9e17163c0968f7ec89e74d16b3"
sha256 arm64_ventura: "164c221a9c9fe3a24aef850f02eaa3f108e31e504d419efbf0616d5504e6d0bb"
sha256 arm64_monterey: "7a6e4270f5e3bc5092b7316dc0af1c3081a478da2029d0769709e09b652d9bf2"
sha256 arm64_big_sur: "864a0222de83272b73021170d9ca6446a15186112a70be7adee76e458ba02db8"
sha256 ventura: "3436fce13006bd58cf3207cac58547a52ca8d1072b90ad6dc6aba472e4bc9c3c"
sha256 monterey: "fe5e2cadab469e8b06b3e1451b40885c4ff5d2f5756e66790c90afdd26e06ce6"
sha256 big_sur: "197d16bb8cfad3259ce49e1fb2ca2878534d5642da9140cc683cf5a45ee52129"
sha256 x86_64_linux: "312871354d9f37ecbdfc6ada6f290cc9496d3a850fcad984bb6e88b279d14f81"
end

depends_on "bison" => :build
depends_on "pkg-config" => :build
depends_on "libevent"
depends_on "ncurses"
depends_on "openssl@1.1"
depends_on "openssl@3"
uses_from_macos "zlib"

on_linux do
Expand All @@ -34,8 +35,7 @@ class Got < Formula
end

def install
# The `configure` script hardcodes our `openssl@3`, but we can't use it due to `libevent`.
inreplace "configure", %r{\$\{HOMEBREW_PREFIX?\}/opt/openssl@3}, Formula["openssl@1.1"].opt_prefix
inreplace "configure", %r{\$\{HOMEBREW_PREFIX?\}/opt/openssl@\d+(\.\d+)?}, Formula["openssl@3"].opt_prefix
system "./configure", *std_configure_args, "--disable-silent-rules"
system "make", "install"
end
Expand Down

0 comments on commit 3709df9

Please sign in to comment.