Created attachment 208572 [details] Patch file Remove RUBY_PATCHLEVEL, RUBY_RELVERSION and RUBY_RELVERSION_CODE because 1. Since Ruby 2.1 value of RUBY_PATCHLEVEL has been 0. So it is meaningless. 2. If RUBY_PATCHLEVEL is deleted, RUBY_RELVERSION and RUBY_VERSION are always same value. And it also applies to RUBY_RELEVERSION_CODE and RUBY_VERSION_CODE. 3. RUBY_PATCHLEVEL is only used to set value of CPE_UPDATE in lang/ruby2[456]. And setting CPE_UPDATE is optional. 4. RUBY_RELEVERSION is only used to set value of CPE_VERSION in lang/ruby2[456]. But as is describled in 2, it can be replased with RUBY_VERSION. 5. RUBY_RELVERSION_CODE is not used anywhere.
+1 Ruby fellows, any concerns?
(In reply to Yasuhiro KIMURA from comment #0) It's also on my list but there's minor difference. Please remove RUBY_DISTVERSION as well. Thanks!
Created attachment 208626 [details] Updated patch file Remove RUBY_DISTVERSION too. So please commit attached patch instead of original one.
Any other cocerns? If nothing, I'll commit this.
(In reply to Koichiro Iwao from comment #4) Since it doesn't seem there are any other concerns, would you please commit this bug report now?
(In reply to Koichiro Iwao from comment #4) Please go ahead.
A commit references this bug: Author: meta Date: Wed Nov 6 05:21:00 UTC 2019 New revision: 516858 URL: https://svnweb.freebsd.org/changeset/ports/516858 Log: Mk/bsd.ruby.mk: Remove RUBY_{PATCHLEVEL,RELVERSION,RELVERSION_CODE,RUBY_DISTVERSION} 1. RUBY_PATCHLEVEL has been 0 since Ruby 2.1 2. After RUBY_PATCHLEVEL is removed , RUBY_RELVERSION and RUBY_VERSION are always same value and it also applies to RUBY_RELEVERSION_CODE and RUBY_VERSION_CODE 3. RUBY_PATCHLEVEL is only used to set value of CPE_UPDATE in lang/ruby2[456] and setting CPE_UPDATE is optional 4. RUBY_RELEVERSION is only used to set value of CPE_VERSION in lang/ruby2[456] but as is describled in 2, it can be replased with RUBY_VERSION 5. RUBY_RELVERSION_CODE is not used anywhere PR: 241473 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Reviewed by: sunpoet Changes: head/Mk/bsd.ruby.mk
Committed, thanks for your continuous contribution on FreeBSD Ruby!