summaryrefslogtreecommitdiff
path: root/textproc/mecab-ipadic
diff options
context:
space:
mode:
authorobache <obache>2008-04-10 16:43:58 +0000
committerobache <obache>2008-04-10 16:43:58 +0000
commitf296a07de51ff04c1846476cb3297c388c8207b3 (patch)
treeaaec7f65239b6db542f708d31d900c4d19e697b0 /textproc/mecab-ipadic
parentd372c6c3e6a10e243ef9af863419bca6fbcbc3bd (diff)
downloadpkgsrc-f296a07de51ff04c1846476cb3297c388c8207b3.tar.gz
Introduce variable MECAB_CHARSET for default charset of MeCab.
close PR 38040.
Diffstat (limited to 'textproc/mecab-ipadic')
-rw-r--r--textproc/mecab-ipadic/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/mecab-ipadic/Makefile b/textproc/mecab-ipadic/Makefile
index f88853c55ad..57c1971d0cb 100644
--- a/textproc/mecab-ipadic/Makefile
+++ b/textproc/mecab-ipadic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/02/04 04:58:53 obache Exp $
+# $NetBSD: Makefile,v 1.4 2008/04/10 16:43:58 obache Exp $
#
.include "../../textproc/mecab/Makefile.common"
@@ -12,5 +12,9 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-charset=${MECAB_CHARSET:Q}
+
+BUILD_DEFS+= MECAB_CHARSET
+
.include "../../textproc/mecab-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"