Sun Sep 12 03:53:00 2010 UTC ()
Now enable ruby19!


(taca)
diff -r1.49 -r1.50 pkgsrc/lang/ruby/rubyversion.mk

cvs diff -r1.49 -r1.50 pkgsrc/lang/ruby/rubyversion.mk (expand / switch to unified diff)

--- pkgsrc/lang/ruby/rubyversion.mk 2010/09/10 03:19:54 1.49
+++ pkgsrc/lang/ruby/rubyversion.mk 2010/09/12 03:53:00 1.50
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: rubyversion.mk,v 1.49 2010/09/10 03:19:54 taca Exp $ 1# $NetBSD: rubyversion.mk,v 1.50 2010/09/12 03:53:00 taca Exp $
2# 2#
3 3
4.if !defined(_RUBYVERSION_MK) 4.if !defined(_RUBYVERSION_MK)
5_RUBYVERSION_MK= # defined 5_RUBYVERSION_MK= # defined
6 6
7.include "../../mk/bsd.prefs.mk" 7.include "../../mk/bsd.prefs.mk"
8 8
9# current supported Ruby's version 9# current supported Ruby's version
10RUBY18_VERSION= 1.8.7 10RUBY18_VERSION= 1.8.7
11RUBY19_VERSION= 1.9.2 11RUBY19_VERSION= 1.9.2
12 12
13# patch 13# patch
14RUBY18_PATCHLEVEL= pl302 14RUBY18_PATCHLEVEL= pl302
@@ -38,32 +38,32 @@ RUBY_API_VERSION?= ${RUBY19_API_VERSION} @@ -38,32 +38,32 @@ RUBY_API_VERSION?= ${RUBY19_API_VERSION}
38.endif 38.endif
39 39
40RUBY_PATCH_LEVEL= ${RUBY${RUBY_VER}_PATCHLEVEL} 40RUBY_PATCH_LEVEL= ${RUBY${RUBY_VER}_PATCHLEVEL}
41.if ${RUBY_VERSION} == ${RUBY18_VERSION} 41.if ${RUBY_VERSION} == ${RUBY18_VERSION}
42RUBY_VERSION_SUFFIX= ${RUBY_VERSION}${RUBY_PATCH_LEVEL:S/pl/./} 42RUBY_VERSION_SUFFIX= ${RUBY_VERSION}${RUBY_PATCH_LEVEL:S/pl/./}
43.elif ${RUBY_VERSION} == ${RUBY19_VERSION} 43.elif ${RUBY_VERSION} == ${RUBY19_VERSION}
44RUBY_VERSION_SUFFIX= ${RUBY_VERSION}${RUBY_PATCH_LEVEL} 44RUBY_VERSION_SUFFIX= ${RUBY_VERSION}${RUBY_PATCH_LEVEL}
45.endif 45.endif
46 46
47# RUBY_VERSION_SUPPORTED defines the list of ${RUBY_VER} which is 47# RUBY_VERSION_SUPPORTED defines the list of ${RUBY_VER} which is
48# supported by the package. It should be defined by the packages 48# supported by the package. It should be defined by the packages
49# for specific Ruby versions. 49# for specific Ruby versions.
50# 50#
51RUBY_VERSION_SUPPORTED?= 18 # 19 51RUBY_VERSION_SUPPORTED?= 18 19
52 52
53# RUBY_VERSION_LIST defines the list of ${RUBY_VER} which is known to 53# RUBY_VERSION_LIST defines the list of ${RUBY_VER} which is known to
54# this framework. 54# this framework.
55# 55#
56RUBY_VERSION_LIST= 18 # 19 56RUBY_VERSION_LIST= 18 19
57 57
58# RUBY_NOVERSION should be set to "Yes" if the package dosen't depend on 58# RUBY_NOVERSION should be set to "Yes" if the package dosen't depend on
59# any specific version of ruby command. In this case, package's 59# any specific version of ruby command. In this case, package's
60# name begin with "ruby-". 60# name begin with "ruby-".
61# If RUBY_NOVERSION is "No" (default), the package's name is begin 61# If RUBY_NOVERSION is "No" (default), the package's name is begin
62# with ${RUBY_NAME}; "ruby18", "ruby19", and so on. 62# with ${RUBY_NAME}; "ruby18", "ruby19", and so on.
63# 63#
64# It also affects to RUBY_DOCDIR, RUBY_EXAMPLESDIR... 64# It also affects to RUBY_DOCDIR, RUBY_EXAMPLESDIR...
65# 65#
66RUBY_NOVERSION?= No 66RUBY_NOVERSION?= No
67 67
68# _RUBY_VER_MAJOR, _RUBY_VER_MINOR, _RUBY_VER_TEENY and _RUBY_PATCHLEVEL 68# _RUBY_VER_MAJOR, _RUBY_VER_MINOR, _RUBY_VER_TEENY and _RUBY_PATCHLEVEL
69# is defined from version of Ruby. It should not be used in packages' 69# is defined from version of Ruby. It should not be used in packages'