aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fragroute.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/fragroute.rb b/Library/Formula/fragroute.rb
index 9d265a981..aa039f68b 100644
--- a/Library/Formula/fragroute.rb
+++ b/Library/Formula/fragroute.rb
@@ -19,8 +19,8 @@ class Fragroute < Formula
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--with-libevent=#{Formula.factory("libevent").opt_prefix}",
- "--with-libdnet=#{Formula.factory("libdnet").opt_prefix}"
+ "--with-libevent=#{Formula["libevent"].opt_prefix}",
+ "--with-libdnet=#{Formula["libdnet"].opt_prefix}"
system "make", "install"
end
end