aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2023-03-01 04:24:54 +0000
committerKyle Evans <kevans@FreeBSD.org>2023-03-17 05:01:45 +0000
commit04accaacd45a4594aceb3589d05ca6da59acb4dd (patch)
treeb7658995fbb31d4d28d05f6381a3a01c6a841fc8
parentcda391fe2207e7c4a8d91e88713c58bea362d828 (diff)
downloadsrc-04accaacd45a4594aceb3589d05ca6da59acb4dd.tar.gz
src-04accaacd45a4594aceb3589d05ca6da59acb4dd.zip
i18n: csmapper: hook up the top-level .src files to the build
The top-level charset.pivot.src may be empty, but the top-level mapper.dir.src is not -- it contains some definitions for supplementary UCS planes. The SMP/SSP definitions aren't actually used at the moment, but the inclusion of the SIP definitions fixes conversions involving JISX0213-1/JISX0213-2 to be possible. Sponsored by: Klara, Inc. (cherry picked from commit dc6df546be29a468ae21b1b7604e85b703ad6779)
-rw-r--r--share/i18n/csmapper/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/i18n/csmapper/Makefile b/share/i18n/csmapper/Makefile
index 7c6aca31c019..22c6d9014930 100644
--- a/share/i18n/csmapper/Makefile
+++ b/share/i18n/csmapper/Makefile
@@ -10,7 +10,7 @@ SUBDIR_PARALLEL=
mapper.dir: ${SUBDIR}
newfile=$$(for i in ${SUBDIR}; do \
cat $$i/mapper.dir.$$i; \
- done); \
+ done; cat ${.CURDIR}/mapper.dir.src); \
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
printf '%s\n' "$$newfile" >${.TARGET}
mapper.dir.db: mapper.dir
@@ -22,7 +22,7 @@ CLEANFILES+= mapper.dir mapper.dir.db
charset.pivot: ${SUBDIR}
newfile=$$(for i in ${SUBDIR}; do \
cat $$i/charset.pivot.$$i; \
- done); \
+ done; cat ${.CURDIR}/charset.pivot.src); \
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
printf '%s\n' "$$newfile" >${.TARGET}
charset.pivot.pvdb: charset.pivot