pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby lang/ruby: GC unused variable related to ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2f233e937c9
branches:  trunk
changeset: 375714:e2f233e937c9
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Feb 19 13:48:11 2018 +0000

description:
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:

 lang/ruby/gem-vars.mk    |  5 +----
 lang/ruby/rubyversion.mk |  6 +-----
 2 files changed, 2 insertions(+), 9 deletions(-)

diffs (60 lines):

diff -r a2a8237ac929 -r e2f233e937c9 lang/ruby/gem-vars.mk
--- a/lang/ruby/gem-vars.mk     Mon Feb 19 13:44:53 2018 +0000
+++ b/lang/ruby/gem-vars.mk     Mon Feb 19 13:48:11 2018 +0000
@@ -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=       ${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 -r a2a8237ac929 -r e2f233e937c9 lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Mon Feb 19 13:44:53 2018 +0000
+++ b/lang/ruby/rubyversion.mk  Mon Feb 19 13:48:11 2018 +0000
@@ -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_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_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_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_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



Home | Main Index | Thread Index | Old Index