726fe6fc8f
(in addtion to backported patches, dropped prototype patch of kakasi_do(). Its committer doesn't know the reason anymore, and implemented part patches had been merged long time ago with "patch-aa and patch-ac patched the same file. Merge them" but patch-aa was for lib/libkakasi.c, and patch-ac is for src/kakasi.c. From no problem reportes, it is considered this patch set is not relevant). Changes from KAKASI 2.3.5 to 2.3.6 * Check runtime environment for test codes, and skip impossible tests. * With configure, check compiler supported option. (for the issue old gcc cannot accept -Wno-unused-result option) * Fixed to check iconv availability at configure instead of autconf. * Fixed and added manual (by Osamu Aoki). * Fixed a bug to ouput redundant delimiter at wakatigaki if the line start with ASCII character. * Changed unitptr_t from macro to typedef (to avoid the issue that come compilers cannot handle such macro) * Fixed missing iconv related casts. Changes from KAKASI 2.3.4 to 2.3.5 * Added UTF-8 input/output support (iconv is required) * Improve handling of japanese long-vowel. * Fixed bug of do_kakasi(), may return invald memory area. * Fixed a wrong entriy in kakasidict. * Fixed bad hepburn romaji table. * Added use_old_romaji_table variable and -t option. * Fixed segfault on invalid SS2 sequences. * Fixes warnings at compile. * Added a test script. * Added -S option for mutable separator (with -w or -s option). * Added -l and -L option for level furigana and hiragana conversion. (See doc/README.level for more information) * Newly added -F option for mutable parentheses around furigana (with -JH -f or -L option). * Added -y option to display all yomi per one Kanji. * Add endian independent dictionary format support. * Fixed bad hepburn romaji table. (specify -t option fo use old romaji table)
14 lines
348 B
Makefile
14 lines
348 B
Makefile
# $NetBSD: options.mk,v 1.1 2014/06/06 12:09:47 obache Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.kakasi
|
|
PKG_SUPPORTED_OPTIONS= utf8
|
|
PKG_SUGGESTED_OPTIONS= utf8
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mutf8)
|
|
CONFIGURE_ARGS+= --enable-utf8
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-utf8
|
|
.endif
|