fragroute: use Formula[]
This commit is contained in:
parent
ddc466d444
commit
286e3b0245
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue