aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchdiza2013-09-15 11:29:55 -0400
committerAdam Vandenberg2013-09-15 09:47:09 -0700
commitc229b958f6071bc701bd513155dda6000a414e5d (patch)
tree075f68a01542f1a8f104d860f42301595f910f43
parent7877496f08fb5b8a7355c89350817a166b63ab99 (diff)
downloadhomebrew-c229b958f6071bc701bd513155dda6000a414e5d.tar.bz2
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 <flangy@gmail.com>
-rw-r--r--Library/Formula/aria2.rb2
1 files changed, 1 insertions, 1 deletions
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