From 87aacb6beed34d405b86808aefcb936005ec6ea2 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 2 Sep 2003 18:39:16 +0000 Subject: - Fix build with upgraded gettext package PR: 56321 Submitted by: Ports Fury --- japanese/ebview-gtk2/Makefile | 6 ++++++ japanese/ebview/Makefile | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'japanese') diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile index 3e3eac11406e..db7e9564785b 100644 --- a/japanese/ebview-gtk2/Makefile +++ b/japanese/ebview-gtk2/Makefile @@ -28,6 +28,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib +post-patch: +.for file in src/dictheading.c + cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \ + && iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE} +.endfor + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/japanese/ebview/Makefile b/japanese/ebview/Makefile index 3e3eac11406e..db7e9564785b 100644 --- a/japanese/ebview/Makefile +++ b/japanese/ebview/Makefile @@ -28,6 +28,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib +post-patch: +.for file in src/dictheading.c + cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \ + && iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE} +.endfor + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -- cgit v1.2.3