diff --git a/Formula/libgit2.rb b/Formula/libgit2.rb index 87303fb4fc412..ef1779568df83 100644 --- a/Formula/libgit2.rb +++ b/Formula/libgit2.rb @@ -1,8 +1,8 @@ class Libgit2 < Formula desc "C library of Git core methods that is re-entrant and linkable" homepage "https://libgit2.github.com/" - url "https://github.com/libgit2/libgit2/archive/v0.23.0.tar.gz" - sha256 "49d75c601eb619481ecc0a79f3356cc26b89dfa646f2268e434d7b4c8d90c8a1" + url "https://github.com/libgit2/libgit2/archive/v0.23.2.tar.gz" + sha256 "20c0a6ee92c0e19207dac6ddc336b4ae4a1c4ddf91be0891e4b6e6ccba16df0b" head "https://github.com/libgit2/libgit2.git" bottle do @@ -15,13 +15,15 @@ class Libgit2 < Formula option :universal + depends_on "pkg-config" => :build depends_on "cmake" => :build depends_on "libssh2" => :optional - depends_on "openssl" + depends_on "openssl" if MacOS.version <= :lion # Uses SecureTransport on >10.7 def install args = std_cmake_args args << "-DBUILD_CLAR=NO" # Don't build tests. + args << "-DUSE_SSH=NO" if build.without? "libssh2" if build.universal? ENV.universal_binary