Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 14:36:11 +0000 (UTC)
From:      MANTANI Nobutaka <nobutaka@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358123 - in head/japanese/cmigemo: . files
Message-ID:  <201406171436.s5HEaBXx013956@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nobutaka
Date: Tue Jun 17 14:36:11 2014
New Revision: 358123
URL: http://svnweb.freebsd.org/changeset/ports/358123
QAT: https://qat.redports.org/buildarchive/r358123/

Log:
  Use converters/libiconv instead of base system iconv to fix build error.
  
  Reported by:	swills

Modified:
  head/japanese/cmigemo/Makefile
  head/japanese/cmigemo/files/patch-compile_config.mk.in

Modified: head/japanese/cmigemo/Makefile
==============================================================================
--- head/japanese/cmigemo/Makefile	Tue Jun 17 14:33:53 2014	(r358122)
+++ head/japanese/cmigemo/Makefile	Tue Jun 17 14:36:11 2014	(r358123)
@@ -26,7 +26,7 @@ DOCSDIR=	${PREFIX}/share/doc/ja/${PORTNA
 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>

Modified: head/japanese/cmigemo/files/patch-compile_config.mk.in
==============================================================================
--- head/japanese/cmigemo/files/patch-compile_config.mk.in	Tue Jun 17 14:33:53 2014	(r358122)
+++ head/japanese/cmigemo/files/patch-compile_config.mk.in	Tue Jun 17 14:36:11 2014	(r358123)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406171436.s5HEaBXx013956>