pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mikutter Stop using RUBY_JSON_{REQD, TYPE} since al...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3755584a644c
branches: trunk
changeset: 363012:3755584a644c
user: taca <taca%pkgsrc.org@localhost>
date: Tue May 30 15:18:31 2017 +0000
description:
Stop using RUBY_JSON_{REQD,TYPE} since all ruby2*-base pacakges contain
required version of json extension.
Instead, override json_pure to json in gemspec.
Bump PKGREVISION.
diffstat:
net/mikutter/Makefile | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r 586eac2059d2 -r 3755584a644c net/mikutter/Makefile
--- a/net/mikutter/Makefile Tue May 30 15:13:03 2017 +0000
+++ b/net/mikutter/Makefile Tue May 30 15:18:31 2017 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.140 2017/04/08 07:44:23 tsutsui Exp $
+# $NetBSD: Makefile,v 1.141 2017/05/30 15:18:31 taca Exp $
#
DISTNAME= mikutter.3.5.7
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/./-/}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://mikutter.hachune.net/bin/
@@ -34,7 +35,7 @@
REPLACE_RUBY= mikutter.rb devel/makechi.rb
REPLACE_RUBY_DIRS= core
-.include "../../lang/ruby/replace.mk"
+OVERRIDE_GEMSPEC+= json_pure:json>=1.8
INSTALLATION_DIRS+= bin share/doc/mikutter share/applications share/mikutter
@@ -53,7 +54,5 @@
${INSTALL_SCRIPT} ${WRKDIR}/mikutter.sh ${DESTDIR}${PREFIX}/bin/mikutter
${INSTALL_DATA} ${WRKDIR}/desktop ${DESTDIR}${PREFIX}/share/applications/mikutter.desktop
-RUBY_JSON_TYPE= pure
-RUBY_JSON_REQD= 1.8
-.include "../../lang/ruby/json.mk"
+.include "../../lang/ruby/replace.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index