| @@ -1,51 +1,51 @@ | | | @@ -1,51 +1,51 @@ |
1 | # $NetBSD: rubyversion.mk,v 1.76 2012/03/21 15:47:33 taca Exp $ | | 1 | # $NetBSD: rubyversion.mk,v 1.77 2012/03/21 15:48:41 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: 18 192 193 | | 13 | # Possible values: 18 192 193 |
14 | # Default: 192 | | 14 | # Default: 193 |
15 | # | | 15 | # |
16 | # RUBY_BUILD_RDOC | | 16 | # RUBY_BUILD_RDOC |
17 | # Build rdoc of this package and so that install formated | | 17 | # Build rdoc of this package and so that install formated |
18 | # documentation. It is also used in each package. | | 18 | # documentation. It is also used in each package. |
19 | # | | 19 | # |
20 | # Possible values: Yes No | | 20 | # Possible values: Yes No |
21 | # Default: Yes | | 21 | # Default: Yes |
22 | # | | 22 | # |
23 | # RUBY_BUILD_RI | | 23 | # RUBY_BUILD_RI |
24 | # Build ri format of this package so that ri command would be | | 24 | # Build ri format of this package so that ri command would be |
25 | # display class/module definitions. It is also used in each package. | | 25 | # display class/module definitions. It is also used in each package. |
26 | # | | 26 | # |
27 | # Possible values: Yes No | | 27 | # Possible values: Yes No |
28 | # Default: Yes | | 28 | # Default: Yes |
29 | # | | 29 | # |
30 | # | | 30 | # |
31 | # === Package-settable variables === | | 31 | # === Package-settable variables === |
32 | # | | 32 | # |
33 | # RUBY_VERSION_SUPPORTED | | 33 | # RUBY_VERSION_SUPPORTED |
34 | # The Ruby versions that are acceptable for the package. | | 34 | # The Ruby versions that are acceptable for the package. |
35 | # | | 35 | # |
36 | # Possible values: 18 192 193 | | 36 | # Possible values: 18 192 193 |
37 | # Compatible values: 19 (= 192) | | 37 | # Compatible values: 19 (= 192) |
38 | # Default: 192 | | 38 | # Default: 193 |
39 | # | | 39 | # |
40 | # RUBY_VERSION_REQD | | 40 | # RUBY_VERSION_REQD |
41 | # The Ruby versions force to build (for pbulk). | | 41 | # The Ruby versions force to build (for pbulk). |
42 | # | | 42 | # |
43 | # RUBY_NOVERSION | | 43 | # RUBY_NOVERSION |
44 | # If "Yes", the package dosen't depend on any version of Ruby, such | | 44 | # If "Yes", the package dosen't depend on any version of Ruby, such |
45 | # as editing mode for emacs. In this case, package's name would begin | | 45 | # as editing mode for emacs. In this case, package's name would begin |
46 | # with "ruby-". Otherwise, the package's name is begin with | | 46 | # with "ruby-". Otherwise, the package's name is begin with |
47 | # ${RUBY_PKGPREFIX}; "ruby18", "ruby19" and "ruby193". | | 47 | # ${RUBY_PKGPREFIX}; "ruby18", "ruby19" and "ruby193". |
48 | # | | 48 | # |
49 | # Possible values: Yes No | | 49 | # Possible values: Yes No |
50 | # Default: No | | 50 | # Default: No |
51 | # | | 51 | # |
| @@ -203,27 +203,27 @@ RUBY19_VERSION= 1.9.2 | | | @@ -203,27 +203,27 @@ RUBY19_VERSION= 1.9.2 |
203 | RUBY193_VERSION= 1.9.3 | | 203 | RUBY193_VERSION= 1.9.3 |
204 | | | 204 | |
205 | # patch | | 205 | # patch |
206 | RUBY18_PATCHLEVEL= pl358 | | 206 | RUBY18_PATCHLEVEL= pl358 |
207 | RUBY19_PATCHLEVEL= pl318 | | 207 | RUBY19_PATCHLEVEL= pl318 |
208 | RUBY193_PATCHLEVEL= p125 | | 208 | RUBY193_PATCHLEVEL= p125 |
209 | | | 209 | |
210 | # current API compatible version; used for version of shared library | | 210 | # current API compatible version; used for version of shared library |
211 | RUBY18_API_VERSION= 1.8.7 | | 211 | RUBY18_API_VERSION= 1.8.7 |
212 | RUBY19_API_VERSION= 1.9.1 | | 212 | RUBY19_API_VERSION= 1.9.1 |
213 | RUBY193_API_VERSION= 1.9.1 | | 213 | RUBY193_API_VERSION= 1.9.1 |
214 | | | 214 | |
215 | # | | 215 | # |
216 | RUBY_VERSION_DEFAULT?= 192 | | 216 | RUBY_VERSION_DEFAULT?= 193 |
217 | | | 217 | |
218 | RUBY_VERSION_SUPPORTED?= 18 192 193 | | 218 | RUBY_VERSION_SUPPORTED?= 18 192 193 |
219 | RUBY_VER?= ${RUBY_VERSION_DEFAULT} | | 219 | RUBY_VER?= ${RUBY_VERSION_DEFAULT} |
220 | | | 220 | |
221 | # If package support only one version, use it. | | 221 | # If package support only one version, use it. |
222 | .if ${RUBY_VERSION_SUPPORTED:[\#]} == 1 | | 222 | .if ${RUBY_VERSION_SUPPORTED:[\#]} == 1 |
223 | RUBY_VER= ${RUBY_VERSION_SUPPORTED} | | 223 | RUBY_VER= ${RUBY_VERSION_SUPPORTED} |
224 | .endif | | 224 | .endif |
225 | | | 225 | |
226 | .if defined(RUBY_VERSION_REQD) | | 226 | .if defined(RUBY_VERSION_REQD) |
227 | . for rv in ${RUBY_VERSION_SUPPORTED} | | 227 | . for rv in ${RUBY_VERSION_SUPPORTED} |
228 | . if ${rv} == ${RUBY_VERSION_REQD} | | 228 | . if ${rv} == ${RUBY_VERSION_REQD} |
229 | RUBY_VER= ${rv} | | 229 | RUBY_VER= ${rv} |