pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/ruby-tk * Replace RUBY_VERSION_FULL with RUBY_VERS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99b303e3e5dc
branches:  trunk
changeset: 363020:99b303e3e5dc
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue May 30 15:49:12 2017 +0000

description:
* Replace RUBY_VERSION_FULL with RUBY_VERSION since there is no
  RUBY_VERSION_FULL contains Ruby's patchlevel.
* Add comment to RUBY_VERSIONS_ACCEPTED that ruby-tk is not bundled by
  Ruby 2.4 and later.

diffstat:

 x11/ruby-tk/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 5db1e8c2ec56 -r 99b303e3e5dc x11/ruby-tk/Makefile
--- a/x11/ruby-tk/Makefile      Tue May 30 15:47:51 2017 +0000
+++ b/x11/ruby-tk/Makefile      Tue May 30 15:49:12 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2017/04/22 18:27:05 taca Exp $
+# $NetBSD: Makefile,v 1.52 2017/05/30 15:49:12 taca Exp $
 
 DISTNAME=              ${RUBY_DISTNAME}
-PKGNAME=               ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION_FULL}
+PKGNAME=               ${RUBY_PKGPREFIX}-${RUBY_EXTNAME}-${RUBY_VERSION}
 PKGREVISION=           4
 RUBY_EXTNAME=          tk
 CATEGORIES=            x11 ruby
@@ -11,7 +11,9 @@
 HOMEPAGE=              ${RUBY_HOMEPAGE}
 COMMENT=               Ruby interface to the Tk widget set
 
+# Ruby 2.4 and later do not bundle ruby-tk.
 RUBY_VERSIONS_ACCEPTED= 23 22 21
+
 USE_TOOLS+=            pax
 USE_RUBY_EXTCONF=      yes
 RUBY_EXTCONF_SUBDIRS=  . tkutil



Home | Main Index | Thread Index | Old Index