aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-09-03 02:39:16 +0800
committerkrion <krion@FreeBSD.org>2003-09-03 02:39:16 +0800
commit202bee72fb8eb1b5318b736879c29ec3d9e8246e (patch)
tree2ac051c7fcd7aae6d50a0d1328686a3439ad3a37 /japanese
parent649dbc276d2128fdca564d73b34045bb184dfd99 (diff)
downloadfreebsd-ports-gnome-202bee72fb8eb1b5318b736879c29ec3d9e8246e.tar.gz
freebsd-ports-gnome-202bee72fb8eb1b5318b736879c29ec3d9e8246e.tar.zst
freebsd-ports-gnome-202bee72fb8eb1b5318b736879c29ec3d9e8246e.zip
- Fix build with upgraded gettext package
PR: 56321 Submitted by: Ports Fury
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ebview-gtk2/Makefile6
-rw-r--r--japanese/ebview/Makefile6
2 files changed, 12 insertions, 0 deletions
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}