diff --git a/Formula/fragroute.rb b/Formula/fragroute.rb index 9d265a981e..aa039f68b8 100644 --- a/Formula/fragroute.rb +++ b/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