summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ruby/Makefile8
-rw-r--r--lang/ruby/rubyversion.mk8
-rw-r--r--textproc/ruby-review/Makefile4
3 files changed, 10 insertions, 10 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}
diff --git a/textproc/ruby-review/Makefile b/textproc/ruby-review/Makefile
index a39eb7c1c24..10d0f1775e4 100644
--- a/textproc/ruby-review/Makefile
+++ b/textproc/ruby-review/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/10/10 03:42:14 taca Exp $
+# $NetBSD: Makefile,v 1.10 2022/10/10 03:44:54 taca Exp $
DISTNAME= review-5.5.0
CATEGORIES= textproc
@@ -20,7 +20,7 @@ pre-configure:
cd ${WRKSRC}/bin && ${CHMOD} ${BINMODE} *
.include "../../lang/ruby/rubyversion.mk"
-.if ${RUBY_VER} == "27"
+.if ${RUBY_VER} == 27
DEPENDS+= ${RUBY_PKGPREFIX}-rexml>=3.2<4:../../textproc/ruby-rexml
.endif