diff options
| author | chdiza | 2014-03-23 01:25:38 -0400 |
|---|---|---|
| committer | Jack Nagel | 2014-03-23 00:52:51 -0500 |
| commit | 1c23aec45ee148e974e3f80abb7d823441aeaec7 (patch) | |
| tree | c7ed554b2afdc23cd8311dfc1cae53e05e677358 | |
| parent | e3482e717f0f1a0f8fb37e696508bf7629ea6317 (diff) | |
| download | homebrew-1c23aec45ee148e974e3f80abb7d823441aeaec7.tar.bz2 | |
ruby: Pass --without-gmp unless build.with? "gmp"
Ruby will pick up gmp if it's on your machine, unless it's specifically
told to not look for gmp. This is true regardless of whether the user
invokes the Homebrew flag --with-gmp. It's safest to force ruby to not
look for gmp unless the user has specifically requested gmp with the
Homebrew option. Otherwise, if the user brews ruby with gmp already on
the machine, then later removes gmp, then ruby is broken.
Closes #27795.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/ruby.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index 6e2a1b406..49ed310af 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -37,6 +37,7 @@ class Ruby < Formula args << "--with-out-ext=tk" if build.without? "tcltk" args << "--disable-install-doc" if build.without? "doc" args << "--disable-dtrace" unless MacOS::CLT.installed? + args << "--without-gmp" if build.without? "gmp" paths = [ Formula["libyaml"].opt_prefix, |
