diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index a6e131972b51..a3aaa5289ff3 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -77,12 +77,16 @@ def install ENV["NO_GETTEXT"] = "1" if build.without? "gettext" - system "make", "prefix=#{prefix}", - "sysconfdir=#{etc}", - "CC=#{ENV.cc}", - "CFLAGS=#{ENV.cflags}", - "LDFLAGS=#{ENV.ldflags}", - "install" + args = %W[ + prefix=#{prefix} + sysconfdir=#{etc} + CC=#{ENV.cc} + CFLAGS=#{ENV.cflags} + LDFLAGS=#{ENV.ldflags} + ] + args << "NO_OPENSSL=1" << "APPLE_COMMON_CRYPTO=1" if build.without? "brewed-openssl" + + system "make", "install", *args # Install the OS X keychain credential helper cd "contrib/credential/osxkeychain" do