| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: rubyversion.mk,v 1.234 2021/07/07 16:10:01 taca Exp $ | | 1 | # $NetBSD: rubyversion.mk,v 1.235 2021/07/07 16:11:57 taca Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | # This file determines which Ruby version is used as a dependency for | | 4 | # This file determines which Ruby version is used as a dependency for |
5 | # a package. | | 5 | # a package. |
6 | # | | 6 | # |
7 | # | | 7 | # |
8 | # === User-settable variables === | | 8 | # === User-settable variables === |
9 | # | | 9 | # |
10 | # RUBY_VERSION_DEFAULT | | 10 | # RUBY_VERSION_DEFAULT |
11 | # The preferered Ruby version to use. | | 11 | # The preferered Ruby version to use. |
12 | # | | 12 | # |
13 | # Possible values: 26 27 30 | | 13 | # Possible values: 26 27 30 |
14 | # Default: 26 | | 14 | # Default: 26 |
| @@ -205,27 +205,27 @@ _RUBYVERSION_MK= # defined | | | @@ -205,27 +205,27 @@ _RUBYVERSION_MK= # defined |
205 | | | 205 | |
206 | .include "../../mk/bsd.prefs.mk" | | 206 | .include "../../mk/bsd.prefs.mk" |
207 | | | 207 | |
208 | .if defined(PKGNAME_REQD) | | 208 | .if defined(PKGNAME_REQD) |
209 | . if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*) | | 209 | . if !empty(PKGNAME_REQD:Mruby[0-9][0-9]-*) |
210 | _RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} | | 210 | _RUBY_VERSION_REQD:= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} |
211 | RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} | | 211 | RUBY_VERSION_REQD?= ${PKGNAME_REQD:C/ruby([0-9][0-9])-.*/\1/} |
212 | . endif | | 212 | . endif |
213 | .endif | | 213 | .endif |
214 | | | 214 | |
215 | # current supported Ruby's version | | 215 | # current supported Ruby's version |
216 | RUBY26_VERSION= 2.6.8 | | 216 | RUBY26_VERSION= 2.6.8 |
217 | RUBY27_VERSION= 2.7.4 | | 217 | RUBY27_VERSION= 2.7.4 |
218 | RUBY30_VERSION= 3.0.1 | | 218 | RUBY30_VERSION= 3.0.2 |
219 | | | 219 | |
220 | # current API compatible version; used for version of shared library | | 220 | # current API compatible version; used for version of shared library |
221 | RUBY26_API_VERSION= 2.6.0 | | 221 | RUBY26_API_VERSION= 2.6.0 |
222 | RUBY27_API_VERSION= 2.7.0 | | 222 | RUBY27_API_VERSION= 2.7.0 |
223 | RUBY30_API_VERSION= 3.0.0 | | 223 | RUBY30_API_VERSION= 3.0.0 |
224 | | | 224 | |
225 | # | | 225 | # |
226 | RUBY_VERSION_DEFAULT?= 26 | | 226 | RUBY_VERSION_DEFAULT?= 26 |
227 | | | 227 | |
228 | # supported Ruby's version | | 228 | # supported Ruby's version |
229 | RUBY_VERSIONS_SUPPORTED= 26 27 30 | | 229 | RUBY_VERSIONS_SUPPORTED= 26 27 30 |
230 | | | 230 | |
231 | RUBY_VERSIONS_ACCEPTED?= 26 27 30 | | 231 | RUBY_VERSIONS_ACCEPTED?= 26 27 30 |