diff options
author | Yasuhiro Kimura <yasu@FreeBSD.org> | 2022-04-04 03:05:05 +0900 |
---|---|---|
committer | Yasuhiro Kimura <yasu@FreeBSD.org> | 2022-04-13 12:04:02 +0900 |
commit | add80dec1ab9913292b08ca8a9968728c755c222 (patch) | |
tree | 8fe30a1852f4ea8013791af10667d5af57cb2fc8 /lang/ruby32/files/patch-lib_mkmf.rb | |
parent | editors/openoffice-4: Fix dependency issues (diff) |
lang/ruby32: Add new port
Add preview1 of Ruby 3.2 series.
ReleaseNotes: https://www.ruby-lang.org/en/news/2022/04/03/ruby-3-2-0-preview1-released/
PR: 263030
Approved by: sunpoet (ruby)
Diffstat (limited to 'lang/ruby32/files/patch-lib_mkmf.rb')
-rw-r--r-- | lang/ruby32/files/patch-lib_mkmf.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ruby32/files/patch-lib_mkmf.rb b/lang/ruby32/files/patch-lib_mkmf.rb new file mode 100644 index 000000000000..f333fdfd2e67 --- /dev/null +++ b/lang/ruby32/files/patch-lib_mkmf.rb @@ -0,0 +1,11 @@ +--- lib/mkmf.rb.orig 2018-10-09 14:09:35 UTC ++++ lib/mkmf.rb +@@ -234,7 +234,7 @@ module MakeMakefile + end + $extmk ||= false + if not $extmk and File.exist?(($hdrdir = RbConfig::CONFIG["rubyhdrdir"]) + "/ruby/ruby.h") +- $topdir = $hdrdir ++ $topdir = $hdrdir + "/" + "#{CONFIG['arch']}/ruby/" + $top_srcdir = $hdrdir + $arch_hdrdir = RbConfig::CONFIG["rubyarchhdrdir"] + elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include") + "/ruby.h") |