ruby@2.2 2.2.7
Closes #11756. Signed-off-by: Alexander Hamann <neutric@users.noreply.github.com>
This commit is contained in:
parent
8f76c3514f
commit
a76bd716f3
1 changed files with 2 additions and 11 deletions
|
@ -1,9 +1,8 @@
|
|||
class RubyAT22 < Formula
|
||||
desc "Powerful, clean, object-oriented scripting language"
|
||||
homepage "https://www.ruby-lang.org/"
|
||||
url "https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.5.tar.bz2"
|
||||
sha256 "22f0c6f34c0024e0bcaaa8e6831b7c0041e1ef6120c781618b833bde29626700"
|
||||
revision 2
|
||||
url "https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.7.tar.bz2"
|
||||
sha256 "80486c5991783185afeceeb315060a3dafc3889a2912e145b1a8457d7b005c5b"
|
||||
|
||||
bottle do
|
||||
sha256 "ad2bc1d93865ff31746bc808b09c2dbd519f7bf9541b7918c7591e05a2bdf4d8" => :sierra
|
||||
|
@ -35,20 +34,12 @@ class RubyAT22 < Formula
|
|||
--with-vendordir=#{HOMEBREW_PREFIX}/lib/ruby/vendor_ruby
|
||||
]
|
||||
|
||||
if build.universal?
|
||||
ENV.universal_binary
|
||||
args << "--with-arch=#{Hardware::CPU.universal_archs.join(",")}"
|
||||
end
|
||||
|
||||
args << "--program-suffix=#{program_suffix}" if build.with? "suffix"
|
||||
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"
|
||||
|
||||
# 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,
|
||||
|
|
Loading…
Reference in a new issue