pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby Remove obsolete conditional; now each ruby2*...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5b5d6a036938
branches: trunk
changeset: 363007:5b5d6a036938
user: taca <taca%pkgsrc.org@localhost>
date: Tue May 30 14:26:08 2017 +0000
description:
Remove obsolete conditional; now each ruby2*-base has rubygems 2.2.2
and later.
diffstat:
lang/ruby/gem-vars.mk | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r c6e5249990d5 -r 5b5d6a036938 lang/ruby/gem-vars.mk
--- a/lang/ruby/gem-vars.mk Tue May 30 14:22:40 2017 +0000
+++ b/lang/ruby/gem-vars.mk Tue May 30 14:26:08 2017 +0000
@@ -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 @@
_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/${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