svn commit: r304319 - in head/japanese: gedy gsuica
Hajimu UMEMOTO
ume at FreeBSD.org
Sat Sep 15 15:32:31 UTC 2012
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>
More information about the svn-ports-all
mailing list