Skip to content

Commit

Permalink
libmpc uses homebrew path for gmp and mpfr.
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#17248.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
kyungminlee authored and adamv committed Jan 31, 2013
1 parent 506c537 commit 951e313
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Formula/libmpc.rb
Expand Up @@ -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"
Expand Down

0 comments on commit 951e313

Please sign in to comment.