git: 6b3f59e8612c - main - lang/ruby35: Update comment about behavior of --with-ruby-version option

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sun, 04 May 2025 01:22:59 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b3f59e8612cf541e3f46876fd446216a97fc7d0

commit 6b3f59e8612cf541e3f46876fd446216a97fc7d0
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2025-05-04 00:51:32 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2025-05-04 01:21:48 +0000

    lang/ruby35: Update comment about behavior of --with-ruby-version option
---
 lang/ruby35/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lang/ruby35/Makefile b/lang/ruby35/Makefile
index 564bb8fface9..cc5866718a21 100644
--- a/lang/ruby35/Makefile
+++ b/lang/ruby35/Makefile
@@ -26,7 +26,11 @@ CPE_UPDATE=	p0
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-# Bug?: With preview1 `./configure --with-ruby-version=minor` sets ruby version string to "3.5+0"
+# Upstream says "+0" is intentionally added to ruby version string
+# ("3.5+0" for example ) with pre-release version.
+# So use --with-ruby-version="${RUBY_VER}" rather than
+# --with-ruby-version=minor until 3.5.0 is released.
+# Reference; https://bugs.ruby-lang.org/issues/21278
 CONFIGURE_ARGS=	${RUBY_CONFIGURE_ARGS} \
 		--disable-rpath \
 		--enable-install-static-library \