Skip to content

Commit

Permalink
ruby: switch to openssl@3
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab committed Jun 12, 2023
1 parent 3ed0731 commit 3c3b21c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class Ruby < Formula
desc "Powerful, clean, object-oriented scripting language"
homepage "https://www.ruby-lang.org/"
license "Ruby"
revision 1

stable do
url "https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz"
Expand Down Expand Up @@ -45,7 +46,7 @@ class Ruby < Formula
depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "libyaml"
depends_on "openssl@1.1"
depends_on "openssl@3"
depends_on "readline"

uses_from_macos "gperf"
Expand All @@ -72,7 +73,7 @@ def install

system "./autogen.sh" if build.head?

paths = %w[libyaml openssl@1.1 readline].map { |f| Formula[f].opt_prefix }
paths = %w[libyaml openssl@3 readline].map { |f| Formula[f].opt_prefix }
args = %W[
--prefix=#{prefix}
--enable-shared
Expand Down

0 comments on commit 3c3b21c

Please sign in to comment.