aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-02 08:22:21 +0800
committerclsung <clsung@FreeBSD.org>2006-08-02 08:22:21 +0800
commit448cdcfad85bc041f63b3ee04de960082557c211 (patch)
treed3f9d7363692e30d6c5d00a325237f202bcbc70b /japanese
parentdc7aeaa787d1d2b7ec98f02c3cd8b6a72a2525d0 (diff)
downloadfreebsd-ports-graphics-448cdcfad85bc041f63b3ee04de960082557c211.tar.gz
freebsd-ports-graphics-448cdcfad85bc041f63b3ee04de960082557c211.tar.zst
freebsd-ports-graphics-448cdcfad85bc041f63b3ee04de960082557c211.zip
WITH_CHARSET feature was introduced in my last update.
But it doesn't work unless libiconv is linked. - Link with libiconv. - Correct charset examples - bump PORTREVISION PR: ports/101223 Submitted by: TAOKA Fumiyoshi <fmysh_AT_iijmio-mail dot jp>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mecab/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index 0e1ad135fa1..d995258484e 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -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 @@ COMMENT= Yet Another Part-of-Speech and Morphological Analyzer
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