diff options
| author | Kyungmin Lee | 2013-01-21 21:29:55 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-31 11:00:36 -0800 |
| commit | 93b05bdaecd74a6143da7c28956ec21c3def579c (patch) | |
| tree | 9ba15707040b1390fa89b90cc006539e5af724ad /Library/Formula | |
| parent | 0fb09e8546077bdb87906f8e35e0511d790456eb (diff) | |
| download | homebrew-93b05bdaecd74a6143da7c28956ec21c3def579c.tar.bz2 | |
libmpc uses homebrew path for gmp and mpfr.
Closes #17248.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libmpc.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/libmpc.rb b/Library/Formula/libmpc.rb index ea967feab..db7d3dce8 100644 --- a/Library/Formula/libmpc.rb +++ b/Library/Formula/libmpc.rb @@ -9,7 +9,14 @@ class Libmpc < Formula depends_on 'mpfr' def install - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" + args = [ + "--prefix=#{prefix}", + "--disable-dependency-tracking", + "--with-gmp=#{Formula.factory('gmp').opt_prefix}", + "--with-mpfr=#{Formula.factory('mpfr').opt_prefix}" + ] + + system "./configure", *args system "make" system "make check" system "make install" |
