diff options
author | taca <taca@pkgsrc.org> | 2016-11-19 15:36:34 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2016-11-19 15:36:34 +0000 |
commit | 0ce8a2909e360069a580acf1301c2a0ad6ebf78e (patch) | |
tree | 943f3da932dc1b09efad0ce86bb97059a3516baf /lang/ruby | |
parent | 6f8edce3e8dfc0009f80d2a30902b1a6898fff7c (diff) | |
download | pkgsrc-0ce8a2909e360069a580acf1301c2a0ad6ebf78e.tar.gz |
Extract _RUBYGEMS_MINORS more strictly.
Diffstat (limited to 'lang/ruby')
-rw-r--r-- | lang/ruby/gem-vars.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/gem-vars.mk b/lang/ruby/gem-vars.mk index 270f8c4f674..fe943cc2810 100644 --- a/lang/ruby/gem-vars.mk +++ b/lang/ruby/gem-vars.mk @@ -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 @@ RUBYGEM= ${LOCALBASE}/bin/${RUBYGEM_NAME} 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 |