aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-01-03 04:02:27 +0800
committerswills <swills@FreeBSD.org>2014-01-03 04:02:27 +0800
commit13d47bd4ca7e300f98e05c1650dfb981f2266574 (patch)
tree30df9eb162acd78ec15b0cf3ab3d494fda002591 /japanese
parent2e738c8b73b72432693aa8628815b1be8a7b29e8 (diff)
downloadfreebsd-ports-gnome-13d47bd4ca7e300f98e05c1650dfb981f2266574.tar.gz
freebsd-ports-gnome-13d47bd4ca7e300f98e05c1650dfb981f2266574.tar.zst
freebsd-ports-gnome-13d47bd4ca7e300f98e05c1650dfb981f2266574.zip
- Ruby 1.9 is default now, remove conditionalization for it
With hat: ruby@
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