Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit bcbc3fc

Browse files
committed
portable-ruby: match Apple’s Ruby options.
1 parent 48b7a26 commit bcbc3fc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Formula/portable-ruby.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class PortableRuby < PortableFormula
77
url "https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2"
88
mirror "http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2"
99
sha256 "882e6146ed26c6e78c02342835f5d46b86de95f0dc4e16543294bc656594cc5b"
10+
revision 1
1011

1112
bottle do
1213
cellar :any_skip_relocation
@@ -82,10 +83,10 @@ def install
8283
--prefix=#{prefix}
8384
--enable-load-relative
8485
--with-static-linked-ext
85-
--with-out-ext=tk,sdbm,gdbm,dbm,dl,fiddle
86+
--with-out-ext=tk
8687
--disable-install-doc
8788
--disable-install-rdoc
88-
--disable-dtrace
89+
--disable-dependency-tracking
8990
]
9091

9192
if OS.mac?
@@ -95,7 +96,11 @@ def install
9596
ENV.replace_in_cflags(/-march=\S*/, "-Xarch_i386 \\0")
9697
ENV.replace_in_cflags(/-mcpu=\S*/, "-Xarch_ppc \\0")
9798
end
99+
98100
args << "--with-arch=#{archs.join(",")}"
101+
102+
# DTrace support doesn't build on 10.5 :(
103+
args << "--disable-dtrace"
99104
end
100105

101106
paths = [

0 commit comments

Comments
 (0)