Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.546 diff -u -r1.546 Makefile.inc1 --- Makefile.inc1 17 May 2006 09:33:05 -0000 1.546 +++ Makefile.inc1 19 May 2006 19:30:09 -0000 @@ -370,7 +370,7 @@ @echo "--------------------------------------------------------------" ${_+_}cd ${.CURDIR}; \ ${WMAKE} -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT \ - -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_PROFILE libraries + -DWITHOUT_MAN -DWITHOUT_PROFILE libraries _depend: @echo @echo "--------------------------------------------------------------" Index: lib/libc/Makefile =================================================================== RCS file: /home/ncvs/src/lib/libc/Makefile,v retrieving revision 1.65 diff -u -r1.65 Makefile --- lib/libc/Makefile 28 Apr 2006 12:03:34 -0000 1.65 +++ lib/libc/Makefile 19 May 2006 19:30:10 -0000 @@ -41,7 +41,6 @@ .include "${.CURDIR}/locale/Makefile.inc" .include "${.CURDIR}/nameser/Makefile.inc" .include "${.CURDIR}/net/Makefile.inc" -.include "${.CURDIR}/nls/Makefile.inc" .include "${.CURDIR}/posix1e/Makefile.inc" .if ${MACHINE_ARCH} != "alpha" && \ ${MACHINE_ARCH} != "amd64" && \ @@ -66,6 +65,10 @@ CFLAGS+= -DYP .include "${.CURDIR}/yp/Makefile.inc" .endif +.if ${MK_NLS} != "no" +CFLAGS+= -DNLS +.include "${.CURDIR}/nls/Makefile.inc" +.endif .if ${MK_HESIOD} != "no" CFLAGS+= -DHESIOD .endif Index: lib/libc/nls/Makefile.inc =================================================================== RCS file: /home/ncvs/src/lib/libc/nls/Makefile.inc,v retrieving revision 1.11 diff -u -r1.11 Makefile.inc --- lib/libc/nls/Makefile.inc 13 Mar 2006 01:14:57 -0000 1.11 +++ lib/libc/nls/Makefile.inc 19 May 2006 19:30:10 -0000 @@ -8,3 +8,17 @@ SYM_MAPS+=${.CURDIR}/nls/Symbol.map MAN+= catclose.3 catgets.3 catopen.3 + +# NOTE: C.msg should not be processed here, it's using as template +# for translators. + +NLSNAME= libc +NLSLANG+= ko_KR.UTF-8 +NLSLANG+= ko_KR.eucKR +NLSLANG+= pl_PL.ISO8859-2 +NLSLANG+= ru_RU.KOI8-R + +NLSSRCDIR= ${.CURDIR}/nls +.for lang in ${NLSLANG} +NLSSRCFILES_${lang}=${lang}.msg +.endfor