git: a5a7f09dcf62 - main - lang/ruby40: Update to 4.0.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Apr 2026 10:15:02 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a5a7f09dcf62b516c9df70818b2346268cb1dcba
commit a5a7f09dcf62b516c9df70818b2346268cb1dcba
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-23 05:20:58 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-23 10:08:32 +0000
lang/ruby40: Update to 4.0.3
Changes: https://github.com/ruby/ruby/releases
https://github.com/ruby/ruby/blob/master/NEWS.md
https://www.ruby-lang.org/en/news/2026/04/21/ruby-4-0-3-released/
---
Mk/Uses/ruby.mk | 2 +-
lang/ruby40/Makefile | 3 ---
lang/ruby40/distinfo | 6 +++---
lang/ruby40/pkg-plist | 1 -
4 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/Mk/Uses/ruby.mk b/Mk/Uses/ruby.mk
index 84fd196a7081..d4534999ca10 100644
--- a/Mk/Uses/ruby.mk
+++ b/Mk/Uses/ruby.mk
@@ -162,7 +162,7 @@ RUBY_DISTVERSION= 3.4.9
#
# Ruby 4.0
#
-RUBY_DISTVERSION= 4.0.2
+RUBY_DISTVERSION= 4.0.3
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
diff --git a/lang/ruby40/Makefile b/lang/ruby40/Makefile
index 24836d1bcecb..d91cdbfd4882 100644
--- a/lang/ruby40/Makefile
+++ b/lang/ruby40/Makefile
@@ -115,9 +115,6 @@ PKGNAMESUFFIX= ${RUBY_SUFFIX}
PLIST_SUB+= IF_DEFAULT="@comment "
.endif
-post-extract-DOCS-on:
- ${MV} ${WRKSRC}/ChangeLog ${WRKSRC}/doc/ChangeLog
-
post-build:
#
# Hack to allow modules to be installed into separate PREFIX and/or under user
diff --git a/lang/ruby40/distinfo b/lang/ruby40/distinfo
index c9ab5358520e..f666fb6c2f6a 100644
--- a/lang/ruby40/distinfo
+++ b/lang/ruby40/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1773967186
-SHA256 (ruby/ruby-4.0.2.tar.xz) = 4618db85bb9ec04d8152d0099db488694a3d3c4f52106625e4ad547f1318db87
-SIZE (ruby/ruby-4.0.2.tar.xz) = 17874724
+TIMESTAMP = 1776864372
+SHA256 (ruby/ruby-4.0.3.tar.xz) = 22cf6005d25bbe496b5ebe9224d63a1aaabfbfe02591bb5d612517c5a7836f29
+SIZE (ruby/ruby-4.0.3.tar.xz) = 17878572
diff --git a/lang/ruby40/pkg-plist b/lang/ruby40/pkg-plist
index 31c0d227d3f2..101c645988a4 100644
--- a/lang/ruby40/pkg-plist
+++ b/lang/ruby40/pkg-plist
@@ -797,7 +797,6 @@ libdata/pkgconfig/ruby-%%RUBY_VER%%.pc
%%NO_CAPIDOCS%%%%NO_DOCS%%%%RDOC%%@dir %%RUBY_DOCDIR%%
%%PORTDOCS%%%%RUBY_DOCDIR%%/COPYING
%%PORTDOCS%%%%RUBY_DOCDIR%%/COPYING.ja
-%%PORTDOCS%%%%RUBY_DOCDIR%%/ChangeLog/ChangeLog
%%PORTDOCS%%%%RUBY_DOCDIR%%/ChangeLog/ChangeLog-0.06_to_0.52
%%PORTDOCS%%%%RUBY_DOCDIR%%/ChangeLog/ChangeLog-0.50_to_0.60
%%PORTDOCS%%%%RUBY_DOCDIR%%/ChangeLog/ChangeLog-0.60_to_1.1