aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ettercap.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-05 21:28:31 -0800
committerAdam Vandenberg2014-03-07 07:08:52 -0800
commitb0ae186a3dde2c47f1742b9125941792b46f42fd (patch)
tree82fca9a30afd99916b0d03b4bd61d521bb52ea7a /Library/Formula/ettercap.rb
parent4f3188bcef0dd96f9b010d199d903b02ed929295 (diff)
downloadhomebrew-b0ae186a3dde2c47f1742b9125941792b46f42fd.tar.bz2
use opt shortcuts
Diffstat (limited to 'Library/Formula/ettercap.rb')
-rw-r--r--Library/Formula/ettercap.rb4
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