aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2025-12-06 12:20:18 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2025-12-06 12:20:18 +0000
commit95f37aa3e51ce46821059b2c9dbb02fef5c4bec5 (patch)
treee3495ab3b4e47331e2fa3aefc5776869f4ce5b67
parent9df8243a2e0ab1ef027cbfbcb4105f5f0ce108e1 (diff)
cldr2def.pl: Fix make install
Follow up on 86c71e97d19f ("pkgbase: locales: Also tag the files dir"), and adapt cldr2def.pl script in order to fix make install. Reviewed by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D53961
-rwxr-xr-xtools/tools/locale/tools/cldr2def.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tools/locale/tools/cldr2def.pl b/tools/tools/locale/tools/cldr2def.pl
index 998e176de918..f0aaf07c02d9 100755
--- a/tools/tools/locale/tools/cldr2def.pl
+++ b/tools/tools/locale/tools/cldr2def.pl
@@ -923,6 +923,7 @@ sub make_makefile {
".for f t in \${LOCALES_MAPPED}\n" .
"FILES+=\t\$t.LC_COLLATE\n" .
"FILESDIR_\$t.LC_COLLATE=\t\${LOCALEDIR}/\$t\n" .
+ "FILESDIR_\$t.LC_COLLATEPACKAGE=\tlocales\n" .
"\$t.LC_COLLATE: \${.CURDIR}/\$f.src\n" .
"\tlocaledef \${LOCALEDEF_ENDIAN} -D -U " .
"-i \${.ALLSRC} \\\n" .
@@ -1102,6 +1103,7 @@ SYMLINKS+= ../\$f/\${FILESNAME} \\
.for f in \${LOCALES}
FILESDIR_\${f}.${SRCOUT2}= \${LOCALEDIR}/\${f}
+FILESDIR_\${f}.${SRCOUT2}PACKAGE= locales
.endfor
${SRCOUT3}.include <bsd.prog.mk>