pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/mikutter



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue May 30 15:18:31 UTC 2017

Modified Files:
        pkgsrc/net/mikutter: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 pkgsrc/net/mikutter/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mikutter/Makefile
diff -u pkgsrc/net/mikutter/Makefile:1.140 pkgsrc/net/mikutter/Makefile:1.141
--- pkgsrc/net/mikutter/Makefile:1.140  Sat Apr  8 07:44:23 2017
+++ pkgsrc/net/mikutter/Makefile        Tue May 30 15:18:31 2017
@@ -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 @@ USE_TOOLS+=   pax
 
 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 @@ do-install:
        ${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