mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
Convert character encoding of src-util/rkhelper.c to fix a breakage of
anthy-agent that garbled characters are returned if a numeral or a symbol is input. PR: 240614 Submitted by: nyan
This commit is contained in:
parent
360862c2cf
commit
648cd7f22b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512179
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= anthy
|
||||
PORTVERSION= 0.4
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= japanese
|
||||
MASTER_SITES= DEBIAN
|
||||
@ -16,7 +17,7 @@ LICENSE_COMB= multi
|
||||
LICENSE_FILE_GPLv2= ${WRKSRC}/alt-cannadic/COPYING
|
||||
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
|
||||
|
||||
USES= libtool pathfix pkgconfig
|
||||
USES= iconv libtool pathfix pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
@ -75,6 +76,8 @@ post-extract:
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e \
|
||||
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
|
||||
${CP} ${WRKSRC}/src-util/rkhelper.c ${WRKSRC}/src-util/rkhelper.c.orig
|
||||
${ICONV_CMD} -f utf-8 -t euc-jp ${WRKSRC}/src-util/rkhelper.c.orig > ${WRKSRC}/src-util/rkhelper.c
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user