aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmpc.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 20:54:34 -0800
committerAdam Vandenberg2014-02-27 08:21:20 -0800
commit93dc3f85589ee0009f0c10dade218a587b4fa7f1 (patch)
tree70640a897adfb970f337747df17219cbf816735f /Library/Formula/libmpc.rb
parent511b949f9dce2156dd7235eb8aac4e02661bb918 (diff)
downloadhomebrew-93dc3f85589ee0009f0c10dade218a587b4fa7f1.tar.bz2
libmpc: use Formula[]
Diffstat (limited to 'Library/Formula/libmpc.rb')
-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