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:           Tue May 30 14:26:08 UTC 2017

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

Log Message:
Remove obsolete conditional; now each ruby2*-base has rubygems 2.2.2
and later.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 pkgsrc/lang/ruby/gem-vars.mk:1.6
--- pkgsrc/lang/ruby/gem-vars.mk:1.5    Sun Apr 23 14:12:29 2017
+++ pkgsrc/lang/ruby/gem-vars.mk        Tue May 30 14:26:08 2017
@@ -1,4 +1,4 @@
-# $NetBSD: gem-vars.mk,v 1.5 2017/04/23 14:12:29 taca Exp $
+# $NetBSD: gem-vars.mk,v 1.6 2017/05/30 14:26:08 taca Exp $
 #
 # This Makefile fragment defines various make(1) variables for Ruby gems
 # support.
@@ -20,7 +20,6 @@ RUBYGEM=      ${LOCALBASE}/bin/${RUBYGEM_NAME
 _RUBYGEMS_MAJOR=       ${RUBY_GEMS_VERSION:C/\.[0-9\.]+$//}
 _RUBYGEMS_MINORS=      ${RUBY_GEMS_VERSION:C/^([0-9]+)\.*//:C/\..*//}
 
-.if ${_RUBYGEMS_MAJOR} >= 2 && ${_RUBYGEMS_MINORS} >= 2 && exists(${RUBYGEM})
 GEM_EXTSDIR_NEEDS_SUBDIR?=     yes
 RUBY_GEM_ARCH!=        ${RUBYGEM} environment platform | ${SED} -e 's|.*:||'
 
@@ -30,8 +29,6 @@ GEM_EXTSDIR=  ${GEM_HOME}/extensions/${RU
 GEM_EXTSDIR=   ${GEM_HOME}/extensions/${RUBY_GEM_ARCH}/${RUBY_VER_DIR}/${GEM_NAME}
 .endif
 
-.endif
-
 .if !empty(GEM_EXTSDIR)
 PLIST_SUBST+=          GEM_EXTSDIR=${GEM_EXTSDIR}
 .else



Home | Main Index | Thread Index | Old Index