postgresql@9.4: remove pre-Mavericks support

This commit is contained in:
FX Coudert 2019-01-28 20:13:00 +01:00
parent ba171b7255
commit d2c2164def

View file

@ -44,11 +44,9 @@ class PostgresqlAT94 < Formula
]
# 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?
args << "--with-tcl"
if File.exist?("#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework/tclConfig.sh")
args << "--with-tclconfig=#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework"
end
args << "--with-tcl"
if File.exist?("#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework/tclConfig.sh")
args << "--with-tclconfig=#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework"
end
# As of Xcode/CLT 10.x the Perl headers were moved from /System