diff options
| author | Adam Vandenberg | 2014-03-05 21:28:31 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-07 07:08:52 -0800 |
| commit | b0ae186a3dde2c47f1742b9125941792b46f42fd (patch) | |
| tree | 82fca9a30afd99916b0d03b4bd61d521bb52ea7a /Library/Formula/ettercap.rb | |
| parent | 4f3188bcef0dd96f9b010d199d903b02ed929295 (diff) | |
| download | homebrew-b0ae186a3dde2c47f1742b9125941792b46f42fd.tar.bz2 | |
use opt shortcuts
Diffstat (limited to 'Library/Formula/ettercap.rb')
| -rw-r--r-- | Library/Formula/ettercap.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/ettercap.rb b/Library/Formula/ettercap.rb index 74d0dba9f..c444972f4 100644 --- a/Library/Formula/ettercap.rb +++ b/Library/Formula/ettercap.rb @@ -19,12 +19,12 @@ class Ettercap < Formula end def install - libnet = Formula['libnet'] + libnet = Formula['libnet'].opt_lib args = ['..'] + std_cmake_args + [ "-DINSTALL_SYSCONFDIR=#{etc}", '-DENABLE_GTK=OFF', - "-DHAVE_LIBNET:FILEPATH=#{libnet.opt_prefix}/lib/libnet.dylib" + "-DHAVE_LIBNET:FILEPATH=#{libnet}/libnet.dylib" ] mkdir "build" do |
