diff options
Diffstat (limited to 'databases/namazu2/files/patch-pl__conf.pl.in')
-rw-r--r-- | databases/namazu2/files/patch-pl__conf.pl.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/databases/namazu2/files/patch-pl__conf.pl.in b/databases/namazu2/files/patch-pl__conf.pl.in new file mode 100644 index 000000000000..af2c5f323ba6 --- /dev/null +++ b/databases/namazu2/files/patch-pl__conf.pl.in @@ -0,0 +1,42 @@ +--- pl/conf.pl.in.orig 2009-01-28 17:31:11.000000000 +0900 ++++ pl/conf.pl.in 2009-03-16 02:25:18.000000000 +0900 +@@ -198,19 +198,19 @@ + # + # Network Kanji Filter nkf v1.71 or later + # +-$NKF = "@NKF@"; ++$NKF = "module_nkf"; + + # + # KAKASI 2.x or later + # Text::Kakasi 1.05 or later + # +-$KAKASI = "@DO_KAKASI@"; ++$KAKASI = "module_kakasi"; + + # + # ChaSen 2.02 or later (simple wakatigaki) + # Text::ChaSen 1.03 + # +-$CHASEN = "@DO_CHASEN@"; ++$CHASEN = "module_chasen"; + + # + # ChaSen 2.02 or later (with noun words extraction) +@@ -220,12 +220,14 @@ + # + # MeCab + # +-$MECAB = "@DO_MECAB@"; ++$MECAB = "module_mecab"; + + # + # Default Japanese processer: KAKASI or ChaSen or MeCab. + # +-$WAKATI = $@OPT_WAKATI_DEFAULT@; ++$WAKATI = $KAKASI; ++$WAKATI = $CHASEN; ++$WAKATI = $MECAB; + + + #=================================================================== |