Files
macports-ports/textproc/jdepp/files/patch-configure.diff
2014-06-28 01:36:31 +00:00

21 lines
773 B
Diff

--- configure.orig 2014-06-22 13:58:22.000000000 +0900
+++ configure 2014-06-22 23:59:02.000000000 +0900
@@ -5815,7 +5815,7 @@
$as_echo "#define USE_MECAB 1" >>confdefs.h
- MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr "A-Z" "a-z"`dic
+ MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr "A-Z" "a-z"`dic-utf8
if ! test -e $MECAB_DICT; then :
as_fn_error $? "\"${MECAB_DICT}\" not found" "$LINENO" 5
fi
@@ -5919,7 +5919,7 @@
$as_echo "#define USE_AS_STANDALONE 1" >>confdefs.h
- MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr "A-Z" "a-z"`dic
+ MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr "A-Z" "a-z"`dic-utf8
JDEPP_CPPFLAGS+=" -DMECAB_DICT=\\\"${MECAB_DICT}\\\""
JDEPP_LDFLAGS+=" -lmecab"
else