Add WITH_CHARSET knob to convert a dictionary.
State Changed From-To: open->feedback Awaiting maintainers feedback
I modified TAOKA-san's patch and show following: --- japanese/mecab-ipadic.orig/Makefile Tue Jul 18 21:40:09 2006 +++ japanese/mecab-ipadic/Makefile Sun Aug 6 17:32:20 2006 @@ -24,4 +24,14 @@ USE_PERL5_BUILD= yes GNU_CONFIGURE= yes +# Set charset (euc-jp/sjis_jis/utf8) +.if defined(WITH_CHARSET) +CONFIGURE_ARGS= --with-charset=${WITH_CHARSET} +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " WITH_CHARSET=charset set default charset (euc-jp/sjis_jis/utf8)" + @${ECHO_MSG} "" + .include <bsd.port.mk> Thanks. On Wed, 2 Aug 2006 10:40:19 UT Edwin Groothuis <edwin@FreeBSD.org> wrote: > Maintainer of japanese/mecab-ipadic, > > Please note that PR ports/101252 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/101252 > > -- > Edwin Groothuis > edwin@FreeBSD.org
Sorry, I got an encoding name wrong. iconv -l says not utf8 but utf-8. Please change the patch with s/utf8/utf-8/g. Thank you On 2006/08/06, at 17:48, TAKATSU Tomonari wrote: > I modified TAOKA-san's patch and show following: > > --- japanese/mecab-ipadic.orig/Makefile Tue Jul 18 21:40:09 2006 > +++ japanese/mecab-ipadic/Makefile Sun Aug 6 17:32:20 2006 > @@ -24,4 +24,14 @@ > USE_PERL5_BUILD= yes > GNU_CONFIGURE= yes > > +# Set charset (euc-jp/sjis_jis/utf8) > +.if defined(WITH_CHARSET) > +CONFIGURE_ARGS= --with-charset=${WITH_CHARSET} > +.endif > + > +pre-everything:: > + @${ECHO_MSG} "" > + @${ECHO_MSG} " WITH_CHARSET=charset set default charset > (euc-jp/sjis_jis/utf8)" > + @${ECHO_MSG} "" > + > .include <bsd.port.mk> > > Thanks. > > On Wed, 2 Aug 2006 10:40:19 UT > Edwin Groothuis <edwin@FreeBSD.org> wrote: > >> Maintainer of japanese/mecab-ipadic, >> >> Please note that PR ports/101252 has just been submitted. >> >> If it contains a patch for an upgrade, an enhancement or a bug fix >> you agree on, reply to this email stating that you approve the patch >> and a committer will take care of it. >> >> The full text of the PR can be found at: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/101252 >> >> -- >> Edwin Groothuis >> edwin@FreeBSD.org >
State Changed From-To: feedback->open maintainer approved
Finaly, the patch is following --- japanese/mecab-ipadic.orig/Makefile Tue Jul 18 21:40:09 2006 +++ japanese/mecab-ipadic/Makefile Sun Aug 6 17:32:20 2006 @@ -24,4 +24,14 @@ USE_PERL5_BUILD= yes GNU_CONFIGURE= yes +# Set charset (euc-jp/sjis_jis/utf-8) +.if defined(WITH_CHARSET) +CONFIGURE_ARGS= --with-charset=${WITH_CHARSET} +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " WITH_CHARSET=charset set default charset (euc-jp/sjis_jis/utf-8)" + @${ECHO_MSG} "" + .include <bsd.port.mk> Thanks. On Sun, 6 Aug 2006 21:41:34 GMT Edwin Groothuis <edwin@FreeBSD.org> wrote: > Synopsis: [patch] Add WITH_CHARSET knob to japanese/mecab-ipadic > > State-Changed-From-To: feedback->open > State-Changed-By: edwin > State-Changed-When: Sun Aug 6 21:41:26 UTC 2006 > State-Changed-Why: > maintainer approved > > http://www.freebsd.org/cgi/query-pr.cgi?pr=101252
Edwin, can you commit the patch? Thank you On 2006/08/10, at 20:03, TAKATSU Tomonari wrote: > Finaly, the patch is following > > --- japanese/mecab-ipadic.orig/Makefile Tue Jul 18 21:40:09 2006 > +++ japanese/mecab-ipadic/Makefile Sun Aug 6 17:32:20 2006 > @@ -24,4 +24,14 @@ > USE_PERL5_BUILD= yes > GNU_CONFIGURE= yes > > +# Set charset (euc-jp/sjis_jis/utf-8) > +.if defined(WITH_CHARSET) > +CONFIGURE_ARGS= --with-charset=${WITH_CHARSET} > +.endif > + > +pre-everything:: > + @${ECHO_MSG} "" > + @${ECHO_MSG} " WITH_CHARSET=charset set default charset (euc-jp/ > sjis_jis/utf-8)" > + @${ECHO_MSG} "" > + > .include <bsd.port.mk> > > Thanks. >
State Changed From-To: open->closed Committed. Thanks!