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
parent
d55dd386e2
commit
5c577ae7d9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue