summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2012-09-15 15:32:30 +0000
committerume <ume@FreeBSD.org>2012-09-15 15:32:30 +0000
commit6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0 (patch)
tree0a68549745026cad28a874c21f5984d32f001fd2
parentda5f134a1ac0add5352cfa66d60fb6bd13531db2 (diff)
downloadFreeBSD-ports-6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0.zip
FreeBSD-ports-6b824f2f348c710b27f3c15d8dc8c6e03a7b92d0.tar.gz
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
-rw-r--r--japanese/gedy/Makefile8
-rw-r--r--japanese/gsuica/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/japanese/gedy/Makefile b/japanese/gedy/Makefile
index 965031e..2613957 100644
--- a/japanese/gedy/Makefile
+++ b/japanese/gedy/Makefile
@@ -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>
diff --git a/japanese/gsuica/Makefile b/japanese/gsuica/Makefile
index f55d7e7..8454202 100644
--- a/japanese/gsuica/Makefile
+++ b/japanese/gsuica/Makefile
@@ -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>
OpenPOWER on IntegriCloud