summaryrefslogtreecommitdiff
path: root/textproc/mecab-jumandic
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-04-10 16:43:58 +0000
committerobache <obache@pkgsrc.org>2008-04-10 16:43:58 +0000
commitc65cc3594009e1198e21af87d4a2ebcebb03fb26 (patch)
treeaaec7f65239b6db542f708d31d900c4d19e697b0 /textproc/mecab-jumandic
parenta8a4bb229601143d3b60d180ebc342dfb9fb2016 (diff)
downloadpkgsrc-c65cc3594009e1198e21af87d4a2ebcebb03fb26.tar.gz
Introduce variable MECAB_CHARSET for default charset of MeCab.
close PR 38040.
Diffstat (limited to 'textproc/mecab-jumandic')
-rw-r--r--textproc/mecab-jumandic/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/mecab-jumandic/Makefile b/textproc/mecab-jumandic/Makefile
index c1eb0a8a9bf..835bbd01948 100644
--- a/textproc/mecab-jumandic/Makefile
+++ b/textproc/mecab-jumandic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/02/12 14:18:39 obache Exp $
+# $NetBSD: Makefile,v 1.3 2008/04/10 16:43:58 obache Exp $
#
.include "../../textproc/mecab/Makefile.common"
@@ -12,6 +12,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-charset=${MECAB_CHARSET:Q}
+
+BUILD_DEFS+= MECAB_CHARSET
+
UNLIMIT_RESOURCES= datasize
.include "../../textproc/mecab-base/buildlink3.mk"