diff options
| author | Misty De Meo | 2014-01-03 21:21:13 -0800 |
|---|---|---|
| committer | Misty De Meo | 2014-01-03 21:21:20 -0800 |
| commit | d14a1b96ecea4fe31f693dfaadb99082be98ab31 (patch) | |
| tree | d06891ce8eb311cf8f77c0feffd3f295c0da7335 /Library | |
| parent | e367f84c821390754dc7b3ceb35bae60808e43d9 (diff) | |
| download | homebrew-d14a1b96ecea4fe31f693dfaadb99082be98ab31.tar.bz2 | |
tor: fix conditionals
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/tor.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/tor.rb b/Library/Formula/tor.rb index 53745bc91..9a1699332 100644 --- a/Library/Formula/tor.rb +++ b/Library/Formula/tor.rb @@ -11,10 +11,10 @@ class Tor < Formula sha1 'd10cb78e6a41657d970a1ce42105142bcfc315fb' end - option "with-brewed-openssl", "Build with Homebrew's OpenSSL instead of the system version" if MacOS.version < :snow_leopard + option "with-brewed-openssl", "Build with Homebrew's OpenSSL instead of the system version" if MacOS.version > :leopard depends_on 'libevent' - depends_on 'openssl' if build.with? 'brewed-openssl' || MacOS.version < :snow_leopard + depends_on 'openssl' if build.with?('brewed-openssl') || MacOS.version < :snow_leopard def install args = %W[ @@ -22,7 +22,7 @@ class Tor < Formula --prefix=#{prefix} ] - args << "-with-ssl=#{Formulary.factory('openssl').opt_prefix}" if build.with? 'brewed-openssl' || MacOS.version < :snow_leopard + args << "-with-ssl=#{Formulary.factory('openssl').opt_prefix}" if build.with?('brewed-openssl') || MacOS.version < :snow_leopard system "./configure", *args system "make install" |
