mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
Add preview1 of Ruby 3.3 series. To handle pre-release version, Mk/bsd.ruby.mk is changed as following. * New variable RUBY_DISTVERSION is introduced. It keeps DISTVERSION of each ruby port (lang/rubyXY). * The value of RUBY_VERSION, RUBY_PORTVERSION, RUBY_WRKSRC and RUBY_DISTNAME is set by using that of RUBY_DISTVERSION ReleaseNotes: https://www.ruby-lang.org/en/news/2021/11/09/ruby-3-1-0-preview1-released/ PR: 259746 Approved by: maintainer timeout (> 1 month)
11 lines
469 B
Ruby
11 lines
469 B
Ruby
--- 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")
|