diff options
author | taca <taca> | 2011-12-25 02:18:09 +0000 |
---|---|---|
committer | taca <taca> | 2011-12-25 02:18:09 +0000 |
commit | 00e1b14ba9fea6d5b0b94c9fcc0a8e183b1dd41d (patch) | |
tree | 5f1b152be09e47f7f8737a6c05038beeb6c8b51d /lang/ruby | |
parent | e0c91c886f529da6fe60a06d5a19f7356f671b2e (diff) | |
download | pkgsrc-00e1b14ba9fea6d5b0b94c9fcc0a8e183b1dd41d.tar.gz |
Fix some confusion about handling for RUBY_VERSION_DEFAULT and RUBY_VER.
Really fix the pkglint problem with ruby19-base and ruby193-base, and
pbulk. Thanks to joerg@ to teache me pbulk-index!
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/rubyversion.mk | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index 8d0fb25380d..5dd9fde2b74 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.67 2011/12/24 23:16:04 joerg Exp $ +# $NetBSD: rubyversion.mk,v 1.68 2011/12/25 02:18:09 taca Exp $ # # This file determines which Ruby version is used as a dependency for @@ -214,7 +214,7 @@ RUBY19_API_VERSION= 1.9.1 RUBY193_API_VERSION= 1.9.1 # -RUBY_VERSION_DEFAULT?= 19 +RUBY_VERSION_DEFAULT?= 192 RUBY_VERSION_SUPPORTED?= 18 192 193 RUBY_VER?= ${RUBY_VERSION_DEFAULT} @@ -232,11 +232,8 @@ RUBY_VER= ${rv} . endfor .endif -# For backward compatibility -.if ${RUBY_VER} == "1.9" || ${RUBY_VER} == "192" -RUBY_VER= 19 -.elif ${RUBY_VER} == "1.8" -RUBY_VER= 18 +.if ${RUBY_VER} == "192" +RUBY_VER:= 19 .endif .if ${RUBY_VER} == "18" |