ports/101252: [patch] Add WITH_CHARSET knob to japanese/mecab-ipadic
TAKATSU Tomonari
tota at rtfm.jp
Thu Aug 10 11:10:27 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 at FreeBSD.org
Subject: Re: ports/101252: [patch] Add WITH_CHARSET knob to
japanese/mecab-ipadic
Date: Thu, 10 Aug 2006 20:03:53 +0900
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 at 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
More information about the freebsd-ports-bugs
mailing list