pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby * Remove reference to RUBY_GEMS_PKGSRC_VERS ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9eb27b6512c2
branches:  trunk
changeset: 361642:9eb27b6512c2
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Apr 23 14:12:29 2017 +0000

description:
* Remove reference to RUBY_GEMS_PKGSRC_VERS since there is no stand alone
  rubygems pacakge in pkgsrc.
* Remove ruby18 related lines.

diffstat:

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

diffs (26 lines):

diff -r 9366f57aa56e -r 9eb27b6512c2 lang/ruby/gem-vars.mk
--- a/lang/ruby/gem-vars.mk     Sun Apr 23 14:10:24 2017 +0000
+++ b/lang/ruby/gem-vars.mk     Sun Apr 23 14:12:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gem-vars.mk,v 1.4 2016/11/19 15:36:34 taca Exp $
+# $NetBSD: gem-vars.mk,v 1.5 2017/04/23 14:12:29 taca Exp $
 #
 # This Makefile fragment defines various make(1) variables for Ruby gems
 # support.
@@ -17,16 +17,9 @@
 
 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]+)\.*//:C/\..*//}
 
-.if ${RUBY_VER} == "18"
-BUILD_DEPENDS+=        ${RUBY_PKGPREFIX}-rubygems>=1.1.0:../../misc/rubygems
-DEPENDS+=      ${RUBY_PKGPREFIX}-rubygems>=1.0.1:../../misc/rubygems
-.endif # !ruby18
-
 .if ${_RUBYGEMS_MAJOR} >= 2 && ${_RUBYGEMS_MINORS} >= 2 && exists(${RUBYGEM})
 GEM_EXTSDIR_NEEDS_SUBDIR?=     yes
 RUBY_GEM_ARCH!=        ${RUBYGEM} environment platform | ${SED} -e 's|.*:||'



Home | Main Index | Thread Index | Old Index