libgit2: remove options

This commit is contained in:
FX Coudert 2018-12-23 13:42:50 +01:00
parent ad4dd72829
commit 2d555238e8

View file

@ -14,14 +14,13 @@ class Libgit2 < Formula
depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "libssh2"
depends_on "openssl" if MacOS.version <= :lion # Uses SecureTransport on >10.7
depends_on "libssh2" => :recommended
def install
args = std_cmake_args
args << "-DBUILD_EXAMPLES=YES"
args << "-DBUILD_CLAR=NO" # Don't build tests.
args << "-DUSE_SSH=NO" if build.without? "libssh2"
mkdir "build" do
system "cmake", "..", *args