libevhtp: move to OpenSSL 1.1

This commit is contained in:
FX Coudert 2019-09-04 17:02:58 +02:00
parent 287a8fc983
commit c2a1a2de46

View file

@ -3,7 +3,7 @@ class Libevhtp < Formula
homepage "https://criticalstack.com/"
url "https://github.com/criticalstack/libevhtp/archive/1.2.18.tar.gz"
sha256 "316ede0d672be3ae6fe489d4ac1c8c53a1db7d4fe05edaff3c7c853933e02795"
revision 1
revision 2
bottle do
cellar :any
@ -15,7 +15,7 @@ class Libevhtp < Formula
depends_on "cmake" => :build
depends_on "doxygen" => :build
depends_on "libevent"
depends_on "openssl"
depends_on "openssl@1.1"
def install
system "cmake", "-DEVHTP_BUILD_SHARED=ON",
@ -45,9 +45,9 @@ class Libevhtp < Formula
system ENV.cc, "test.c",
"-I#{include}",
"-I#{Formula["openssl"].opt_include}",
"-I#{Formula["openssl@1.1"].opt_include}",
"-I#{Formula["libevent"].opt_include}",
"-L#{Formula["openssl"].opt_lib}",
"-L#{Formula["openssl@1.1"].opt_lib}",
"-L#{Formula["libevent"].opt_lib}",
"-L#{lib}",
"-levhtp",