ports/101252: [patch] Add WITH_CHARSET knob to japanese/mecab-ipadic
TAKATSU Tomonari
tota at rtfm.jp
Sun Aug 6 09:00:34 UTC 2006
The following reply was made to PR ports/101252; it has been noted by GNATS.
From: TAKATSU Tomonari <tota at rtfm.jp>
To: bug-followup at FreeBSD.org
Cc: fmysh at iijmio-mail.jp, Edwin Groothuis <edwin at FreeBSD.org>
Subject: Re: ports/101252: [patch] Add WITH_CHARSET knob to
japanese/mecab-ipadic
Date: Sun, 06 Aug 2006 17:48:32 +0900
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 at 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 at FreeBSD.org
More information about the freebsd-ports-bugs
mailing list