libmpc: use Formula[]

master
Adam Vandenberg 2014-02-25 20:54:34 -08:00
parent eaeec7281c
commit c34d502c26
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ class Libmpc < Formula
args = [
"--prefix=#{prefix}",
"--disable-dependency-tracking",
"--with-gmp=#{Formula.factory('gmp').opt_prefix}",
"--with-mpfr=#{Formula.factory('mpfr').opt_prefix}"
"--with-gmp=#{Formula["gmp"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr"].opt_prefix}"
]
system "./configure", *args