aria2: Only require gnutls when necessary

gnutls isn't required when the user asks for aria2 to be brewed
`--with-appletls`.

Closes Homebrew/homebrew#22561.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
chdiza 2013-09-15 11:29:55 -04:00 committed by Adam Vandenberg
parent d55dd386e2
commit 5c577ae7d9
1 changed files with 1 additions and 1 deletions

View File

@ -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