pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby Extract _RUBYGEMS_MINORS more strictly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/547df105db65
branches:  trunk
changeset: 355046:547df105db65
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 19 15:36:34 2016 +0000

description:
Extract _RUBYGEMS_MINORS more strictly.

diffstat:

 lang/ruby/gem-vars.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4cf4d2ade93c -r 547df105db65 lang/ruby/gem-vars.mk
--- a/lang/ruby/gem-vars.mk     Sat Nov 19 15:35:43 2016 +0000
+++ b/lang/ruby/gem-vars.mk     Sat Nov 19 15:36:34 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gem-vars.mk,v 1.3 2015/11/25 12:51:17 jperkin Exp $
+# $NetBSD: gem-vars.mk,v 1.4 2016/11/19 15:36:34 taca Exp $
 #
 # This Makefile fragment defines various make(1) variables for Ruby gems
 # support.
@@ -20,7 +20,7 @@
 RUBY_GEMS_VERSION?=    ${RUBY_GEMS_PKGSRC_VERS}
 
 _RUBYGEMS_MAJOR=       ${RUBY_GEMS_VERSION:C/\.[0-9\.]+$//}
-_RUBYGEMS_MINORS=      ${RUBY_GEMS_VERSION:C/^([0-9]+)\.*//}
+_RUBYGEMS_MINORS=      ${RUBY_GEMS_VERSION:C/^([0-9]+)\.*//:C/\..*//}
 
 .if ${RUBY_VER} == "18"
 BUILD_DEPENDS+=        ${RUBY_PKGPREFIX}-rubygems>=1.1.0:../../misc/rubygems



Home | Main Index | Thread Index | Old Index