diff options
author | taca <taca@pkgsrc.org> | 2022-10-10 03:44:54 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2022-10-10 03:44:54 +0000 |
commit | a14b6636807d7c46be121ff72d0487443a0035e7 (patch) | |
tree | 77d6feb7583d12cec48839132dada7c434102c4b /lang/ruby | |
parent | b6ca9d40ade0aea520a96002584aad169c453323 (diff) | |
download | pkgsrc-a14b6636807d7c46be121ff72d0487443a0035e7.tar.gz |
Treat RUBY_VER as number instead of string.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/Makefile | 8 | ||||
-rw-r--r-- | lang/ruby/rubyversion.mk | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile index bc3918d96d2..2d793260a85 100644 --- a/lang/ruby/Makefile +++ b/lang/ruby/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.72 2022/10/10 03:31:44 taca Exp $ +# $NetBSD: Makefile,v 1.73 2022/10/10 03:44:54 taca Exp $ DISTNAME= # empty PKGNAME= ruby-${RUBY_VERSION} @@ -20,11 +20,11 @@ NO_BUILD= yes DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR} -.if ${RUBY_VER} == "27" +.if ${RUBY_VER} == 27 RUBY_COMMANDS= bundle bundler erb gem irb racc rake racc2y rdoc ri ruby y2racc -.elif ${RUBY_VER} == "30" +.elif ${RUBY_VER} == 30 RUBY_COMMANDS= bundle bundler erb gem irb racc rake rbs rdoc ri ruby typeprof -.elif ${RUBY_VER} == "31" +.elif ${RUBY_VER} == 31 RUBY_COMMANDS= bundle bundler erb gem irb racc rake rbs rdbg rdoc ri ruby typeprof .endif diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index be9e8889252..9b46ba76e46 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.253 2022/10/10 03:31:44 taca Exp $ +# $NetBSD: rubyversion.mk,v 1.254 2022/10/10 03:44:54 taca Exp $ # # This file determines which Ruby version is used as a dependency for @@ -267,7 +267,7 @@ RUBY_VER:= ${RUBY_VER_MAP.${RUBY_VER}:U${RUBY_VER}} RUBY_SUFFIX?= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}${_RUBY_VER_TEENY} -.if ${RUBY_VER} == "27" +.if ${RUBY_VER} == 27 RUBY_VERSION= ${RUBY27_VERSION} RUBY_ABI_VERSION= ${RUBY_VERSION} RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR} @@ -329,7 +329,7 @@ RUBY_YAML_VER= 0.1.0 RUBY_ZLIB_VER= 1.1.0 -.elif ${RUBY_VER} == "30" +.elif ${RUBY_VER} == 30 RUBY_VERSION= ${RUBY30_VERSION} RUBY_ABI_VERSION= ${RUBY_VERSION} RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR} @@ -421,7 +421,7 @@ RUBY_WEAKREF_VER= 0.1.1 RUBY_YAML_VER= 0.1.1 RUBY_ZLIB_VER= 2.0.0 -.elif ${RUBY_VER} == "31" +.elif ${RUBY_VER} == 31 RUBY_VERSION= ${RUBY31_VERSION} RUBY_ABI_VERSION= ${RUBY_VERSION} RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR} |