shadowsocks-libev: fix polarssl dependency

This commit is contained in:
Jack Nagel 2014-08-24 19:46:33 -05:00
parent 02c1fc4cfc
commit d703e38ad0

View file

@ -17,11 +17,8 @@ class ShadowsocksLibev < Formula
option "with-polarssl", "Use PolarSSL instead of OpenSSL"
depends_on "libev"
if build.with? "polarssl"
depends_on "polarssl"
else
depends_on "openssl"
end
depends_on "polarssl" => :optional
depends_on "openssl" if build.without? "polarssl"
def install
args = ["--prefix=#{prefix}"]