aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmpc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/libmpc.rb b/Library/Formula/libmpc.rb
index 0ccb1a033..13fb38e0b 100644
--- a/Library/Formula/libmpc.rb
+++ b/Library/Formula/libmpc.rb
@@ -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