diff options
| -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' |
