diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2014-06-17 22:36:11 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2014-06-17 22:36:11 +0800 |
commit | ce5fd57af20ee91d4612ef0bc1a0048cbdd7b60c (patch) | |
tree | 153ae9b47cf20bfd69426f90bb98dfc60de01d8f /japanese | |
parent | c32c600cebff499b3ca80a69bb4ad348ae6a9ccc (diff) | |
download | freebsd-ports-gnome-ce5fd57af20ee91d4612ef0bc1a0048cbdd7b60c.tar.gz freebsd-ports-gnome-ce5fd57af20ee91d4612ef0bc1a0048cbdd7b60c.tar.zst freebsd-ports-gnome-ce5fd57af20ee91d4612ef0bc1a0048cbdd7b60c.zip |
Use converters/libiconv instead of base system iconv to fix build error.
Reported by: swills
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/cmigemo/Makefile | 5 | ||||
-rw-r--r-- | japanese/cmigemo/files/patch-compile_config.mk.in | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/japanese/cmigemo/Makefile b/japanese/cmigemo/Makefile index 494ef0533c26..f00a97710d59 100644 --- a/japanese/cmigemo/Makefile +++ b/japanese/cmigemo/Makefile @@ -26,7 +26,7 @@ DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} PORTDOCS= README_j.txt .endif -USES+= iconv gmake zip +USES+= iconv:build,wchar_t gmake zip HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} @@ -42,4 +42,7 @@ post-extract: ${CHMOD} a+x ${WRKSRC}/configure .endif +post-patch: + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/compile/config.mk.in + .include <bsd.port.mk> diff --git a/japanese/cmigemo/files/patch-compile_config.mk.in b/japanese/cmigemo/files/patch-compile_config.mk.in index bc103f0c5663..289f58adfb4e 100644 --- a/japanese/cmigemo/files/patch-compile_config.mk.in +++ b/japanese/cmigemo/files/patch-compile_config.mk.in @@ -1,5 +1,5 @@ --- compile/config.mk.in.orig 2011-02-27 19:45:40.000000000 +0900 -+++ compile/config.mk.in 2011-08-17 00:07:28.000000000 +0900 ++++ compile/config.mk.in 2014-06-17 21:59:03.000000000 +0900 @@ -18,8 +18,8 @@ incdir = $(prefix)/include # WARNING: Directories $(dictdir) and $(docdir) will be deleted whole the @@ -11,14 +11,16 @@ ############################################################################## # Commands -@@ -33,8 +33,8 @@ +@@ -33,9 +33,9 @@ PERL = perl BUNZIP2 = bzip2 -d GUNZIP = gzip -d -FILTER_CP932 = ${PROGRAM_ENCODEFILTER} -s -FILTER_EUCJP = ${PROGRAM_ENCODEFILTER} -e -+FILTER_CP932 = iconv -t cp932 -f euc-jp -+FILTER_EUCJP = iconv -t euc-jp -f cp932 - FILTER_UTF8 = iconv -t utf-8 -f cp932 +-FILTER_UTF8 = iconv -t utf-8 -f cp932 ++FILTER_CP932 = %%LOCALBASE%%/bin/iconv -t cp932 -f euc-jp ++FILTER_EUCJP = %%LOCALBASE%%/bin/iconv -t euc-jp -f cp932 ++FILTER_UTF8 = %%LOCALBASE%%/bin/iconv -t utf-8 -f cp932 INSTALL = ${PROGRAM_INSTALL} -c INSTALL_PROGRAM = $(INSTALL) -m 755 + INSTALL_DATA = $(INSTALL) -m 644 |