ports/101223:
TAOKA Fumiyoshi
fmysh at iijmio-mail.jp
Tue Aug 1 20:40:16 UTC 2006
>Number: 101223
>Category: ports
>Synopsis:
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 01 20:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: TAOKA Fumiyoshi
>Release:
>Organization:
>Environment:
>Description:
WITH_CHARSET feature was introduced in my last update.
But it doesn't work unless libiconv is linked.
- Link with libiconv.
- Correct charset examples
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/mecab/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile 31 Jul 2006 02:52:49 -0000 1.19
+++ Makefile 1 Aug 2006 20:30:08 -0000
@@ -7,6 +7,7 @@
PORTNAME= mecab
PORTVERSION= 0.93
+PORTREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ${PORTNAME}/${SUB_DIR}
@@ -17,13 +18,15 @@
SUB_DIR= 21187
+USE_ICONV= yes
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I ${PREFIX}/include" \
+ LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
-# Default charset (euc/sjis/utf8)
+# Default charset (euc-jp/shift_jis/utf-8)
.if defined(WITH_CHARSET)
CONFIGURE_ARGS= --with-charset=${WITH_CHARSET}
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list