This updates to the latest version of Ruby 4.0. Release announcement at:
https://www.ruby-lang.org/en/news/2026/10/22/ruby-4-0-8-released/
Tested on amd64. Will be committing in a couple days unless I hear
objections.
Best,
Jeremy
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/ruby/4.0/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile 19 Sep 2026 00:06:58 -0000 1.13
+++ Makefile 22 Oct 2026 21:35:16 -0000
@@ -1,4 +1,4 @@
-VERSION = 4.0.7
+VERSION = 4.0.8
DISTNAME = ruby-${VERSION}
PKGNAME-main = ruby-${VERSION}
PKGNAME-ri_docs = ruby${BINREV}-ri_docs-${VERSION}
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/ruby/4.0/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo 19 Sep 2026 00:06:58 -0000 1.8
+++ distinfo 22 Oct 2026 21:35:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (ruby-4.0.7.tar.gz) = kRrOIPkNBoyg5N2m0OTw+B5S5S8t1PQATHIeJTQS6C0=
-SIZE (ruby-4.0.7.tar.gz) = 23937964
+SHA256 (ruby-4.0.8.tar.gz) = CWjirEy9bx/YXTCSrtZs08LYukpeJJPW5sbLDEMYl9I=
+SIZE (ruby-4.0.8.tar.gz) = 23947459
Index: patches/patch-common_mk
===================================================================
RCS file: /cvs/ports/lang/ruby/4.0/patches/patch-common_mk,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-common_mk
--- patches/patch-common_mk 27 Dec 2025 16:25:13 -0000 1.1.1.1
+++ patches/patch-common_mk 22 Oct 2026 21:35:16 -0000
@@ -14,7 +14,7 @@ Index: common.mk
V0 = $(V:0=)
Q1 = $(V:1=)
Q = $(Q1:0=@)
-@@ -591,7 +591,7 @@ dont-install-man: $(PREP)
+@@ -592,7 +592,7 @@ dont-install-man: $(PREP)
post-no-install-man::
@$(NULLCMD)
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/lang/ruby/4.0/pkg/PLIST-main,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 PLIST-main
--- pkg/PLIST-main 19 Sep 2026 00:06:58 -0000 1.8
+++ pkg/PLIST-main 22 Oct 2026 21:35:16 -0000
@@ -2029,7 +2029,7 @@ lib/ruby/gems/${REV}/gems/prime-0.1.4/si
lib/ruby/gems/${REV}/gems/prime-0.1.4/sig/integer-extension.rbs
lib/ruby/gems/${REV}/gems/prime-0.1.4/sig/manifest.yaml
lib/ruby/gems/${REV}/gems/prime-0.1.4/sig/prime.rbs
-lib/ruby/gems/${REV}/gems/prism-1.8.1/
+lib/ruby/gems/${REV}/gems/prism-1.8.2/
lib/ruby/gems/${REV}/gems/pstore-0.2.1/
lib/ruby/gems/${REV}/gems/pstore-0.2.1/BSDL
lib/ruby/gems/${REV}/gems/pstore-0.2.1/COPYING
@@ -3495,7 +3495,7 @@ lib/ruby/gems/${REV}/specifications/defa
lib/ruby/gems/${REV}/specifications/default/optparse-0.8.1.gemspec
lib/ruby/gems/${REV}/specifications/default/pp-0.6.3.gemspec
lib/ruby/gems/${REV}/specifications/default/prettyprint-0.2.0.gemspec
-lib/ruby/gems/${REV}/specifications/default/prism-1.8.1.gemspec
+lib/ruby/gems/${REV}/specifications/default/prism-1.8.2.gemspec
lib/ruby/gems/${REV}/specifications/default/psych-5.3.1.gemspec
lib/ruby/gems/${REV}/specifications/default/resolv-0.7.2.gemspec
lib/ruby/gems/${REV}/specifications/default/ruby2_keywords-0.0.5.gemspec