locales: now that C.UTF-8 is the default locale, always install it

MFC after:	3 weeks
This commit is contained in:
Baptiste Daroussin 2021-07-23 14:15:04 +02:00
parent 0a36787e4c
commit ecff3c30b7
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@
# Do not include `info' in the SUBDIR list, it is handled separately.
SUBDIR= ${_colldef} \
${_ctypedef} \
ctypedef \
${_dict} \
${_doc} \
${_dtrace} \
@ -55,7 +55,6 @@ _i18n= i18n
.if ${MK_LOCALES} != "no"
_colldef= colldef colldef_unicode
_monetdef= monetdef monetdef_unicode
_ctypedef= ctypedef
_msgdef= msgdef msgdef_unicode
_numericdef= numericdef numericdef_unicode
_timedef= timedef

View File

@ -6,6 +6,7 @@ FILESNAME= LC_CTYPE
MAPLOC= ${.CURDIR}/../../tools/tools/locale/etc/final-maps
.include <bsd.endian.mk>
.include <src.opts.mk>
.src.LC_CTYPE:
localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
@ -13,6 +14,7 @@ MAPLOC= ${.CURDIR}/../../tools/tools/locale/etc/final-maps
-i ${.IMPSRC} ${.OBJDIR}/${.IMPSRC:T:R} || true
LOCALES+= C.UTF-8
.if ${MK_LOCALES} != no
LOCALES+= be_BY.CP1131
LOCALES+= ca_IT.ISO8859-1
LOCALES+= ca_IT.ISO8859-15
@ -206,6 +208,7 @@ SAME+= en_US.US-ASCII en_CA.US-ASCII
SAME+= en_US.US-ASCII en_AU.US-ASCII
SAME+= lv_LV.ISO8859-13 lt_LT.ISO8859-13
SAME+= ko_KR.eucKR ko_KR.CP949 # legacy (same charset)
.endif
FILES= ${LOCALES:S/$/.LC_CTYPE/}
CLEANFILES= ${FILES}