diff options
author | taca <taca@pkgsrc.org> | 2014-02-02 07:46:16 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2014-02-02 07:46:16 +0000 |
commit | ddcbf7942632bcaaba47834337bfee464edcd983 (patch) | |
tree | 1aae95c8acfb4509f6067c746db6e9a8c630304f /lang/ruby/json.mk | |
parent | 080d2380f701df30d31de5a3399fe3649c3f51f9 (diff) | |
download | pkgsrc-ddcbf7942632bcaaba47834337bfee464edcd983.tar.gz |
Utilize PKGNAME_REQD to determine required Ruby version.
Address to PR pkg/48509.
Diffstat (limited to 'lang/ruby/json.mk')
-rw-r--r-- | lang/ruby/json.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/ruby/json.mk b/lang/ruby/json.mk index f53202b62a9..468c7637a6e 100644 --- a/lang/ruby/json.mk +++ b/lang/ruby/json.mk @@ -1,4 +1,4 @@ -# $NetBSD: json.mk,v 1.3 2013/11/24 14:05:08 taca Exp $ +# $NetBSD: json.mk,v 1.4 2014/02/02 07:46:16 taca Exp $ # This file handles appropriate dependency to ruby-json pacakge. # @@ -36,6 +36,8 @@ _RUBY_JSON_REQD= true RUBY_JSON_VERSION= 1.5.5 . elif ${RUBY_VER} == "200" RUBY_JSON_VERSION= 1.7.7 +. elif ${RUBY_VER} == "210" +RUBY_JSON_VERSION= 1.8.1 . endif _RUBY_JSON_MAJOR= ${RUBY_JSON_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\1/} |