summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-01-02 20:02:27 +0000
committerSteve Wills <swills@FreeBSD.org>2014-01-02 20:02:27 +0000
commit415921bf57af7a52d1cb067dca47d1094fc8f6b5 (patch)
tree30df9eb162acd78ec15b0cf3ab3d494fda002591 /japanese
parent- Remove unneeded RUBY_VER (diff)
- Ruby 1.9 is default now, remove conditionalization for it
With hat: ruby@
Notes
Notes: svn path=/head/; revision=338480
Diffstat (limited to 'japanese')
-rw-r--r--japanese/migemo/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/japanese/migemo/Makefile b/japanese/migemo/Makefile
index 2f19f86659cd..c8463cdf35bd 100644
--- a/japanese/migemo/Makefile
+++ b/japanese/migemo/Makefile
@@ -42,7 +42,6 @@ SKKDIC_FILE= SKK-JISYO.L-20110813
NO_STAGE= yes
.include <bsd.port.pre.mk>
-.if ${RUBY_VER} == 1.9
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.am.ruby19 \
${PATCHDIR}/extra-patch-configure.in.ruby19 \
${PATCHDIR}/extra-patch-genchars.sh \
@@ -55,7 +54,6 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.am.ruby19 \
${PATCHDIR}/extra-patch-migemo-server \
${PATCHDIR}/extra-patch-migemo.rb.in \
${PATCHDIR}/extra-patch-tests_Makefile.am
-.endif
.if ${ARCH} == "ia64"
BROKEN= Does not compile on ia64
@@ -67,7 +65,7 @@ post-extract:
.endif
post-patch:
-.if ${RUBY_VER} == 1.9 && ${SLAVE_PORT} == "no"
+.if ${SLAVE_PORT} == "no"
@cd ${WRKSRC} ; \
for f in ${SHEBANG_FILES} ; do \
${REINPLACE_CMD} -e 's:#!.*:#!${RUBY} -Ke:' $$f ; \
@@ -76,11 +74,7 @@ post-patch:
post-configure:
.if ${SLAVE_PORT} == "no"
-.if ${RUBY_VER} == 1.9
(cd ${WRKSRC}; ${CAT} SKK-JISYO.L | ${RUBY} -Ke migemo-convert.rb > migemo-dict)
-.else
- (cd ${WRKSRC}; ${CAT} SKK-JISYO.L | ${RUBY} migemo-convert.rb > migemo-dict)
-.endif
${CP} ${AUTOMAKE_DIR}/config.guess ${WRKSRC}
${CP} ${AUTOMAKE_DIR}/config.sub ${WRKSRC}
.endif