git: remove old fix

master
Francois-Xavier Coudert 2020-11-20 00:03:19 +01:00 committed by FX Coudert
parent 836c91c2bb
commit caeae399b8
1 changed files with 2 additions and 7 deletions

View File

@ -76,15 +76,10 @@ class Git < Formula
CFLAGS=#{ENV.cflags}
LDFLAGS=#{ENV.ldflags}
NO_TCLTK=1
NO_OPENSSL=1
APPLE_COMMON_CRYPTO=1
]
if MacOS.version < :yosemite
openssl_prefix = Formula["openssl@1.1"].opt_prefix
args += %W[NO_APPLE_COMMON_CRYPTO=1 OPENSSLDIR=#{openssl_prefix}]
else
args += %w[NO_OPENSSL=1 APPLE_COMMON_CRYPTO=1]
end
system "make", "install", *args
git_core = libexec/"git-core"