Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2012 15:32:30 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304319 - in head/japanese: gedy gsuica
Message-ID:  <201209151532.q8FFWUhg077145@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Sat Sep 15 15:32:30 2012
New Revision: 304319
URL: http://svn.freebsd.org/changeset/ports/304319

Log:
  It requires some additional ruby libs build for ruby19.
  So, mark IGNORE when RUBY_DEFAULT_VER is not 1.9.
  
  Spotted by:	pointyhat via beat

Modified:
  head/japanese/gedy/Makefile
  head/japanese/gsuica/Makefile

Modified: head/japanese/gedy/Makefile
==============================================================================
--- head/japanese/gedy/Makefile	Sat Sep 15 15:21:23 2012	(r304318)
+++ head/japanese/gedy/Makefile	Sat Sep 15 15:32:30 2012	(r304319)
@@ -32,6 +32,12 @@ NO_BUILD=		yes
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.pre.mk>
+
+.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}
@@ -39,4 +45,4 @@ post-patch:
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/japanese/gsuica/Makefile
==============================================================================
--- head/japanese/gsuica/Makefile	Sat Sep 15 15:21:23 2012	(r304318)
+++ head/japanese/gsuica/Makefile	Sat Sep 15 15:32:30 2012	(r304319)
@@ -32,6 +32,12 @@ NO_BUILD=		yes
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.pre.mk>
+
+.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}
@@ -55,4 +61,4 @@ station-code-fetch:
 station-code-install:
 	@(cd ${WRKDIR}; ${SH} station_code_conv.sh StationCode.xls)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209151532.q8FFWUhg077145>