postgresql@9.5: remove options

This commit is contained in:
FX Coudert 2018-12-15 08:40:23 +01:00
parent ce9484d2aa
commit 23abba7d00

View file

@ -14,13 +14,8 @@ class PostgresqlAT95 < Formula
keg_only :versioned_formula
option "with-python", "Build with Python3"
deprecated_option "with-python3" => "with-python"
depends_on "openssl"
depends_on "readline"
depends_on "python" => :optional
def install
ENV.prepend "LDFLAGS", "-L#{Formula["openssl"].opt_lib} -L#{Formula["readline"].opt_lib}"
@ -48,11 +43,6 @@ class PostgresqlAT95 < Formula
--with-uuid=e2fs
]
if build.with?("python")
args << "--with-python"
ENV["PYTHON"] = which("python3")
end
# The CLT is required to build Tcl support on 10.7 and 10.8 because
# tclConfig.sh is not part of the SDK
if MacOS.version >= :mavericks || MacOS::CLT.installed?