git: remove old fix
parent
836c91c2bb
commit
caeae399b8
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue