Page MenuHomeFreeBSD

D2232.id4751.diff
No OneTemporary

D2232.id4751.diff

Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -1425,11 +1425,12 @@
bin/sh \
${_rescue} \
${LOCAL_TOOL_DIRS} \
+ lib/libmagic \
lib/ncurses/ncurses \
lib/ncurses/ncursesw \
${_share} \
usr.bin/awk \
- lib/libmagic \
+ usr.bin/iconv \
usr.bin/mkesdb_static \
usr.bin/mkcsmapper_static \
usr.bin/vi/catalog
Index: share/mk/bsd.nls.mk
===================================================================
--- share/mk/bsd.nls.mk
+++ share/mk/bsd.nls.mk
@@ -44,7 +44,11 @@
NLSSRCDIR_${file}?= ${NLSSRCDIR}
${file}.msg: ${NLSSRCFILES_${file}:S/^/${NLSSRCDIR_${file}}\//}
@rm -f ${.TARGET}
+.if defined(NLSICONV_${file})
+ iconv -f ${NLSICONV_${file}:E} -t ${file:E} ${.ALLSRC} > ${.TARGET}
+.else
cat ${.ALLSRC} > ${.TARGET}
+.endif
CLEANFILES+= ${file}.msg
.endif
.endfor
Index: usr.bin/ee/Makefile
===================================================================
--- usr.bin/ee/Makefile
+++ usr.bin/ee/Makefile
@@ -13,7 +13,8 @@
WARNS?= 2
NLS= C fr_FR.ISO8859-1 de_DE.ISO8859-1 pl_PL.ISO8859-2 \
- uk_UA.KOI8-U pt_BR.ISO8859-1 ru_RU.KOI8-R hu_HU.ISO8859-2
+ uk_UA.KOI8-U pt_BR.ISO8859-1 ru_RU.KOI8-R hu_HU.ISO8859-2 \
+ ru_RU.UTF-8
NLSLINKS_C= en_US.ISO8859-1 en_US.ISO8859-15
NLSLINKS_fr_FR.ISO8859-1= fr_BE.ISO8859-1 fr_BE.ISO8859-15 \
@@ -23,9 +24,13 @@
de_CH.ISO8859-15 de_DE.ISO8859-15
NLSLINKS_pt_BR.ISO8859-1= pt_PT.ISO8859-1
+NLSICONV_ru_RU.UTF-8= ru_RU.KOI8-R
+
NLSSRCFILES=ee.msg
.for lang in ${NLS}
-. if exists(${.CURDIR}/nls/${lang}/ee.msg)
+. if defined(NLSICONV_${lang})
+NLSSRCDIR_${lang}= ${.CURDIR}/nls/${NLSICONV_${lang}}
+. elif exists(${.CURDIR}/nls/${lang}/ee.msg)
NLSSRCDIR_${lang}= ${.CURDIR}/nls/${lang}
. else
NLSSRCDIR_${lang}= ${.CURDIR}/../../contrib/ee
Index: usr.bin/iconv/Makefile
===================================================================
--- usr.bin/iconv/Makefile
+++ usr.bin/iconv/Makefile
@@ -7,4 +7,6 @@
#SRCS= iconv.c
MAN= iconv.1
+build-tools: iconv
+
.include <bsd.prog.mk>

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 26, 6:42 AM (11 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26199561
Default Alt Text
D2232.id4751.diff (2 KB)

Event Timeline