summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2018-02-19 13:48:11 +0000
committertaca <taca@pkgsrc.org>2018-02-19 13:48:11 +0000
commit53a4598b6d8dd217fc4bcc6caeb66db6d07d2e64 (patch)
treeec545672db49d5135159166852c020e8a0a18f92 /lang/ruby
parent2b672298c11a7b8f3aad988dc39e5dd009ec7347 (diff)
downloadpkgsrc-53a4598b6d8dd217fc4bcc6caeb66db6d07d2e64.tar.gz
lang/ruby: GC unused variable related to version of Rubygems
Remove RUBY_GEMS_VERSION which is referenced by _RUBYGEMS_MAJOR and _RUBYGEMS_MINOR, unused variables.
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/gem-vars.mk5
-rw-r--r--lang/ruby/rubyversion.mk6
2 files changed, 2 insertions, 9 deletions
diff --git a/lang/ruby/gem-vars.mk b/lang/ruby/gem-vars.mk
index 24af0518863..3e4bf66e437 100644
--- a/lang/ruby/gem-vars.mk
+++ b/lang/ruby/gem-vars.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gem-vars.mk,v 1.7 2017/05/31 10:27:37 taca Exp $
+# $NetBSD: gem-vars.mk,v 1.8 2018/02/19 13:48:11 taca Exp $
#
# This Makefile fragment defines various make(1) variables for Ruby gems
# support.
@@ -17,9 +17,6 @@ RUBYGEM_ENV?= LANG=${RUBYGEM_LANG} LC_CTYPE=${RUBYGEM_LANG}
RUBYGEM= ${LOCALBASE}/bin/${RUBYGEM_NAME}
-_RUBYGEMS_MAJOR= ${RUBY_GEMS_VERSION:C/\.[0-9\.]+$//}
-_RUBYGEMS_MINORS= ${RUBY_GEMS_VERSION:C/^([0-9]+)\.*//:C/\..*//}
-
GEM_EXTSDIR_NEEDS_SUBDIR?= yes
.if exists(${RUBYGEM})
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk
index 1e846c72286..b4d004a3c4b 100644
--- a/lang/ruby/rubyversion.mk
+++ b/lang/ruby/rubyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.189 2018/02/19 13:31:23 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.190 2018/02/19 13:48:11 taca Exp $
#
# This file determines which Ruby version is used as a dependency for
@@ -274,7 +274,6 @@ RUBY_SUFFIX?= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}${_RUBY_VER_TEENY}
RUBY_VERSION= ${RUBY22_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
-RUBY_GEMS_VERSION= 2.4.5.4
RUBY_RDOC_VERSION= 4.2.0
RUBY_RAKE_VERSION= 10.4.2
RUBY_JSON_VERSION= 1.8.1.1
@@ -292,7 +291,6 @@ RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
RUBY_VERSION= ${RUBY23_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
-RUBY_GEMS_VERSION= 2.5.2.2
RUBY_RDOC_VERSION= 4.2.1
RUBY_RAKE_VERSION= 10.4.2
RUBY_JSON_VERSION= 1.8.3.1
@@ -312,7 +310,6 @@ RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
RUBY_VERSION= ${RUBY24_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
-RUBY_GEMS_VERSION= 2.6.14
RUBY_RDOC_VERSION= 5.0.0
RUBY_RAKE_VERSION= 12.0.0
RUBY_JSON_VERSION= 2.0.4
@@ -334,7 +331,6 @@ RUBY_SUFFIX= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}
RUBY_VERSION= ${RUBY25_VERSION}
RUBY_ABI_VERSION= ${RUBY_VERSION}
-RUBY_GEMS_VERSION= 2.7.3
RUBY_RDOC_VERSION= 6.0.1
RUBY_DID_YOU_MEAN_VERSION= 1.2.0