diff --git a/Formula/postgresql@10.rb b/Formula/postgresql@10.rb index 041bf0215f..1ce72d15a0 100644 --- a/Formula/postgresql@10.rb +++ b/Formula/postgresql@10.rb @@ -3,6 +3,7 @@ class PostgresqlAT10 < Formula homepage "https://www.postgresql.org/" url "https://ftp.postgresql.org/pub/source/v10.10/postgresql-10.10.tar.bz2" sha256 "ad4f9b8575f98ed6091bf9bb2cb16f0e52795a5f66546c1f499ca5c69b21f253" + revision 1 bottle do sha256 "2776ff893d575c5e3e82a53f03f13f68bdaa779b0a8669178da7d33bece21a06" => :mojave @@ -14,15 +15,15 @@ class PostgresqlAT10 < Formula depends_on "pkg-config" => :build depends_on "icu4c" - depends_on "openssl" + depends_on "openssl@1.1" depends_on "readline" def install # avoid adding the SDK library directory to the linker search path ENV["XML2_CONFIG"] = "xml2-config --exec-prefix=/usr" - ENV.prepend "LDFLAGS", "-L#{Formula["openssl"].opt_lib} -L#{Formula["readline"].opt_lib}" - ENV.prepend "CPPFLAGS", "-I#{Formula["openssl"].opt_include} -I#{Formula["readline"].opt_include}" + ENV.prepend "LDFLAGS", "-L#{Formula["openssl@1.1"].opt_lib} -L#{Formula["readline"].opt_lib}" + ENV.prepend "CPPFLAGS", "-I#{Formula["openssl@1.1"].opt_include} -I#{Formula["readline"].opt_include}" args = %W[ --disable-debug @@ -55,7 +56,7 @@ class PostgresqlAT10 < Formula # to inside the SDK, so we need to use `-iwithsysroot` instead # of `-I` to point to the correct location. # https://www.postgresql.org/message-id/153558865647.1483.573481613491501077%40wrigleys.postgresql.org - ENV.prepend "LDFLAGS", "-L#{Formula["openssl"].opt_lib} -L#{Formula["readline"].opt_lib} -R#{lib}/postgresql" + ENV.prepend "LDFLAGS", "-L#{Formula["openssl@1.1"].opt_lib} -L#{Formula["readline"].opt_lib} -R#{lib}/postgresql" system "./configure", *args system "make"