Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Aug 2006 05:38:13 +0900 (JST)
From:      TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Subject:   ports/101223: 
Message-ID:  <20060801203813.5CAE515340F@xeon.quad.dyndns.org>
Resent-Message-ID: <200608012040.k71KeEKI056457@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060801203813.5CAE515340F>