diff options
| author | Adam Vandenberg | 2014-02-24 21:29:03 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:03 -0800 |
| commit | 734e139dcbea28f79eff594a46d0faf3b1ee5a45 (patch) | |
| tree | 895fb81b6e81f38fcd9763f5b232b5b2ced60f17 /Library/Formula/ettercap.rb | |
| parent | bf4ec6bd1e76befce473601817a933b56a8ec8fd (diff) | |
| download | homebrew-734e139dcbea28f79eff594a46d0faf3b1ee5a45.tar.bz2 | |
ettercap: move conditional into method
Diffstat (limited to 'Library/Formula/ettercap.rb')
| -rw-r--r-- | Library/Formula/ettercap.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/ettercap.rb b/Library/Formula/ettercap.rb index 267871f1c..ae6695cae 100644 --- a/Library/Formula/ettercap.rb +++ b/Library/Formula/ettercap.rb @@ -13,8 +13,10 @@ class Ettercap < Formula # fixes absence of strndup function on 10.6 and lower; merged upstream def patches - "https://github.com/Ettercap/ettercap/commit/1692218693ed419465466299c8c76da41c37c945.patch" - end if MacOS.version < :lion + if MacOS.version < :lion + "https://github.com/Ettercap/ettercap/commit/1692218693ed419465466299c8c76da41c37c945.patch" + end + end def install libnet = Formula.factory 'libnet' |
