pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38040: textproc/mecab-{ipadic,jumandic} would have to provide the way to select charset
>Number: 38040
>Category: pkg
>Synopsis: textproc/mecab-{ipadic,jumandic} would have to provide the way
>to select charset
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Feb 16 11:55:00 +0000 2008
>Originator: Naoto Morishima
>Release:
>Organization:
>Environment:
>Description:
textproc/mecab-{ipadic,jumandic} will be installed with default charset euc-jp
now,
but they would have to provide the way to change it.
>How-To-Repeat:
N/A
>Fix:
attached textproc/mecab/options.mk and patches will provide the feature.
textproc/mecab/options.mk
# $NetBSD$
PKG_OPTIONS_VAR= PKG_OPTIONS.mecab
PKG_OPTIONS_OPTIONAL_GROUPS= charset
PKG_OPTIONS_GROUP.charset= euc-jp sjis utf-8
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Meuc-jp)
CONFIGURE_ARGS+= --with-charset=euc-jp
.endif
.if !empty(PKG_OPTIONS:Msjis)
CONFIGURE_ARGS+= --with-charset=sjis
.endif
.if !empty(PKG_OPTIONS:Mutf-8)
CONFIGURE_ARGS+= --with-charset=utf-8
.endif
Index: mecab-ipadic/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/mecab-ipadic/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- mecab-ipadic/Makefile 4 Feb 2008 04:58:53 -0000 1.3
+++ mecab-ipadic/Makefile 16 Feb 2008 04:41:40 -0000
@@ -12,5 +12,7 @@
GNU_CONFIGURE= yes
+.include "../../textproc/mecab/options.mk"
+
.include "../../textproc/mecab-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: mecab-jumandic/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/mecab-jumandic/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- mecab-jumandic/Makefile 12 Feb 2008 14:18:39 -0000 1.2
+++ mecab-jumandic/Makefile 16 Feb 2008 04:41:40 -0000
@@ -12,6 +12,8 @@
GNU_CONFIGURE= yes
+.include "../../textproc/mecab/options.mk"
+
UNLIMIT_RESOURCES= datasize
.include "../../textproc/mecab-base/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index