From c229b958f6071bc701bd513155dda6000a414e5d Mon Sep 17 00:00:00 2001 From: chdiza Date: Sun, 15 Sep 2013 11:29:55 -0400 Subject: aria2: Only require gnutls when necessary gnutls isn't required when the user asks for aria2 to be brewed `--with-appletls`. Closes #22561. Signed-off-by: Adam Vandenberg --- Library/Formula/aria2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/aria2.rb b/Library/Formula/aria2.rb index 3867cbd3e..46bbbec68 100644 --- a/Library/Formula/aria2.rb +++ b/Library/Formula/aria2.rb @@ -8,7 +8,7 @@ class Aria2 < Formula option 'with-appletls', 'Build with Secure Transport for SSL support' depends_on 'pkg-config' => :build - depends_on 'gnutls' + depends_on 'gnutls' unless build.with? 'appletls' depends_on 'curl-ca-bundle' => :recommended depends_on :macos => :lion # Needs a c++11 compiler -- cgit v1.2.3