From 08a2b8b75a4b0a610ef710ed24455d6ea5befab7 Mon Sep 17 00:00:00 2001 From: Casper Thomsen Date: Wed, 18 Jan 2012 23:17:32 +0100 Subject: ettercap: Compiles with plugins Adding --enable-plugins and skip_clean 'bin' since dyld will otherwise fail. Closes #9667. Signed-off-by: Adam Vandenberg --- Library/Formula/ettercap.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/ettercap.rb b/Library/Formula/ettercap.rb index c53239b1e..6dcb83a8b 100644 --- a/Library/Formula/ettercap.rb +++ b/Library/Formula/ettercap.rb @@ -8,6 +8,9 @@ class Ettercap < Formula depends_on 'pcre' depends_on 'libnet' + # Stripping breaks plugin support + skip_clean 'bin' + # The below DATA patch fixes an issue where the linker doesn't get passed the ettercap-built # 'libwdg' archive which is used for the ncurses interface, thus causing a build failure. # See https://github.com/mxcl/homebrew/pull/9540 @@ -19,7 +22,7 @@ class Ettercap < Formula "--mandir=#{man}", "--infodir=#{info}", "--disable-gtk", - "--disable-plugins", + "--enable-plugins", "--with-openssl=/usr", "--with-libpcap=/usr", "--with-libncurses=/usr", -- cgit v1.2.3