aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-01-03 19:25:50 -0800
committerMisty De Meo2014-01-03 21:12:54 -0800
commite367f84c821390754dc7b3ceb35bae60808e43d9 (patch)
treed822982c05501b7d155bd2ca38c55290015a5185 /Library
parent3fb01f4a1b89082a325df165768099727c7fb49b (diff)
downloadhomebrew-e367f84c821390754dc7b3ceb35bae60808e43d9.tar.bz2
tor: needs newer openssl on < Snow Leopard
Fixes mistydemeo/tigerbrew#163.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tor.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/tor.rb b/Library/Formula/tor.rb
index 50932ddfb..53745bc91 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"
+ option "with-brewed-openssl", "Build with Homebrew's OpenSSL instead of the system version" if MacOS.version < :snow_leopard
depends_on 'libevent'
- depends_on 'openssl' if build.with? 'brewed-openssl'
+ 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'
+ args << "-with-ssl=#{Formulary.factory('openssl').opt_prefix}" if build.with? 'brewed-openssl' || MacOS.version < :snow_leopard
system "./configure", *args
system "make install"