pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Remove reference to misc/rubygems and RUBY_VE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20f7a84a2ad0
branches:  trunk
changeset: 361646:20f7a84a2ad0
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Apr 23 14:18:09 2017 +0000

description:
Remove reference to misc/rubygems and RUBY_VER is "18".

diffstat:

 mk/tools/replace.mk |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (25 lines):

diff -r 4e9da30adb6e -r 20f7a84a2ad0 mk/tools/replace.mk
--- a/mk/tools/replace.mk       Sun Apr 23 14:16:58 2017 +0000
+++ b/mk/tools/replace.mk       Sun Apr 23 14:18:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.278 2016/04/08 13:12:33 wiz Exp $
+# $NetBSD: replace.mk,v 1.279 2017/04/23 14:18:09 taca Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -406,14 +406,8 @@
 .endif
 
 .if !defined(TOOLS_IGNORE.gem) && !empty(_USE_TOOLS:Mgem)
-.  if !empty(PKGPATH:Mmisc/rubygems)
-MAKEFLAGS+=                    TOOLS_IGNORE.gem=
-.  elif !empty(_TOOLS_USE_PKGSRC.gem:M[yY][eE][sS])
-.    if !defined(RUBY_VER) || !empty(RUBY_VER:M18)
-TOOLS_DEPENDS.gem?=            ${RUBY_PKGPREFIX}-rubygems-[0-9]*:../../misc/rubygems
-.    else
+.  if !empty(_TOOLS_USE_PKGSRC.gem:M[yY][eE][sS])
 TOOLS_DEPENDS.gem?=            ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
-.    endif
 TOOLS_CREATE+=                 gem
 TOOLS_PATH.gem=                        ${LOCALBASE}/bin/gem${RUBY_SUFFIX}
 .  endif



Home | Main Index | Thread Index | Old Index