aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-09-21 19:17:09 -0500
committerJack Nagel2014-09-21 19:17:09 -0500
commit798cc6b3faf4943ad23a55e45760cd47e289e477 (patch)
tree5d4af110554f5ff3ca7dead700418d03f19b645e /Library/Formula
parentfb1238571a7f5138e4074159a3888e6d995e8856 (diff)
downloadhomebrew-798cc6b3faf4943ad23a55e45760cd47e289e477.tar.bz2
ruby: fix build on 10.7
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ruby.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 072261625..84c4684e1 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -46,6 +46,9 @@ class Ruby < Formula
args << "--disable-dtrace" unless MacOS::CLT.installed?
args << "--without-gmp" if build.without? "gmp"
+ # Reported upstream: https://bugs.ruby-lang.org/issues/10272
+ args << "--with-setjmp-type=setjmp" if MacOS.version == :lion
+
paths = [
Formula["libyaml"].opt_prefix,
Formula["openssl"].opt_prefix