git: 95f37aa3e51c - main - cldr2def.pl: Fix make install
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Dec 2025 12:21:19 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=95f37aa3e51ce46821059b2c9dbb02fef5c4bec5
commit 95f37aa3e51ce46821059b2c9dbb02fef5c4bec5
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-12-06 12:20:18 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-12-06 12:20:18 +0000
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
---
tools/tools/locale/tools/cldr2def.pl | 2 ++
1 file changed, 2 insertions(+)
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>