From owner-svn-ports-all@FreeBSD.ORG Wed Oct 15 11:45:46 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 343D44B6; Wed, 15 Oct 2014 11:45:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15120AC6; Wed, 15 Oct 2014 11:45:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9FBjj9w093254; Wed, 15 Oct 2014 11:45:45 GMT (envelope-from ume@FreeBSD.org) Received: (from ume@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9FBjjFH093252; Wed, 15 Oct 2014 11:45:45 GMT (envelope-from ume@FreeBSD.org) Message-Id: <201410151145.s9FBjjFH093252@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ume set sender to ume@FreeBSD.org using -f From: Hajimu UMEMOTO Date: Wed, 15 Oct 2014 11:45:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370907 - in head/japanese: gedy gsuica X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 11:45:46 -0000 Author: ume Date: Wed Oct 15 11:45:45 2014 New Revision: 370907 URL: https://svnweb.freebsd.org/changeset/ports/370907 QAT: https://qat.redports.org/buildarchive/r370907/ Log: - Fix segmentation fault with recent Ruby-GNOME2. - Use USES=shebangfix. Modified: head/japanese/gedy/Makefile head/japanese/gsuica/Makefile Modified: head/japanese/gedy/Makefile ============================================================================== --- head/japanese/gedy/Makefile Wed Oct 15 11:32:09 2014 (r370906) +++ head/japanese/gedy/Makefile Wed Oct 15 11:45:45 2014 (r370907) @@ -3,7 +3,7 @@ PORTNAME= gedy PORTVERSION= 0.9.0 -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= japanese ruby MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/ DISTNAME= ${PORTNAME} @@ -19,6 +19,9 @@ RUN_DEPENDS= rubygem-gtk2>0:${PORTSDIR}/ ${RUBY_SITEARCHLIBDIR}/pasori.so:${PORTSDIR}/devel/libpafe-ruby USE_RUBY= yes +USES= shebangfix +SHEBANG_FILES= ${PORTNAME} +ruby_OLD_CMD= /usr/bin/ruby1.9.3 EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -p @@ -28,18 +31,11 @@ NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} -.include - -.if ${RUBY_DEFAULT_VER} != ${RUBY_VER} -IGNORE= requires RUBY_DEFAULT_VER=${RUBY_VER} -.endif - post-patch: - @${REINPLACE_CMD} -e 's,#! /usr/bin/ruby1.9.3,#!${RUBY},g' \ - ${WRKSRC}/${PORTNAME} + @${REINPLACE_CMD} -e 's/Gdk::Atom.new(0)/Gdk::Selection::CLIPBOARD/g' \ + ${WRKSRC}/${PORTNAME} do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.include +.include Modified: head/japanese/gsuica/Makefile ============================================================================== --- head/japanese/gsuica/Makefile Wed Oct 15 11:32:09 2014 (r370906) +++ head/japanese/gsuica/Makefile Wed Oct 15 11:45:45 2014 (r370907) @@ -3,7 +3,7 @@ PORTNAME= gsuica PORTVERSION= 0.9.1 -#PORTREVISION= 0 +PORTREVISION= 2 CATEGORIES= japanese ruby MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/ DISTNAME= ${PORTNAME} @@ -19,6 +19,9 @@ RUN_DEPENDS= rubygem-gtk2>0:${PORTSDIR}/ ${RUBY_SITEARCHLIBDIR}/pasori.so:${PORTSDIR}/devel/libpafe-ruby USE_RUBY= yes +USES= shebangfix +SHEBANG_FILES= ${PORTNAME} +ruby_OLD_CMD= /usr/bin/ruby1.9.3 EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= -p @@ -28,19 +31,12 @@ NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} -.include - -.if ${RUBY_DEFAULT_VER} != ${RUBY_VER} -IGNORE= requires RUBY_DEFAULT_VER=${RUBY_VER} -.endif - post-patch: - @${REINPLACE_CMD} -e 's,#! /usr/bin/ruby1.9.3,#!${RUBY},g' \ - ${WRKSRC}/${PORTNAME} + @${REINPLACE_CMD} -e 's/Gdk::Atom.new(0)/Gdk::Selection::CLIPBOARD/g' \ + ${WRKSRC}/${PORTNAME} do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin # Fetch station code database station-code-fetch: @@ -58,4 +54,4 @@ station-code-fetch: station-code-install: @(cd ${WRKDIR}; ${SH} station_code_conv.sh StationCode.xls) -.include +.include