pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ruby



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Nov 19 15:36:34 UTC 2016

Modified Files:
        pkgsrc/lang/ruby: gem-vars.mk

Log Message:
Extract _RUBYGEMS_MINORS more strictly.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/ruby/gem-vars.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ruby/gem-vars.mk
diff -u pkgsrc/lang/ruby/gem-vars.mk:1.3 pkgsrc/lang/ruby/gem-vars.mk:1.4
--- pkgsrc/lang/ruby/gem-vars.mk:1.3    Wed Nov 25 12:51:17 2015
+++ pkgsrc/lang/ruby/gem-vars.mk        Sat Nov 19 15:36:34 2016
@@ -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



Home | Main Index | Thread Index | Old Index