libff: migrate to `openssl@3`

Closes #119850.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2023-01-05 10:24:27 -08:00 committed by BrewTestBot
parent 5a069760f7
commit e5586fe666
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class Libff < Formula
end
depends_on "cmake" => :build
depends_on "openssl@1.1" => :build
depends_on "openssl@3" => :build
depends_on "gmp"
@ -33,7 +33,7 @@ class Libff < Formula
system "cmake", "-S", ".", "-B", "build",
"-DWITH_PROCPS=OFF",
"-DCURVE=#{curve}",
"-DOPENSSL_ROOT_DIR=#{Formula["openssl@1.1"].opt_prefix}",
"-DOPENSSL_ROOT_DIR=#{Formula["openssl@3"].opt_prefix}",
"-DCMAKE_POSITION_INDEPENDENT_CODE=ON",
*std_cmake_args
system "cmake", "--build", "build"