Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/locale/tools/cldr2def.pl
| Show First 20 Lines • Show All 917 Lines • ▼ Show 20 Lines | $SRCOUT = "localedef \${LOCALEDEF_ENDIAN} -D -U " . | ||||
| "\${.OBJDIR}/\${.IMPSRC:T:R}"; | "\${.OBJDIR}/\${.IMPSRC:T:R}"; | ||||
| $MAPLOC = "MAPLOC=\t\t\${.CURDIR}/../../tools/tools/" . | $MAPLOC = "MAPLOC=\t\t\${.CURDIR}/../../tools/tools/" . | ||||
| "locale/etc/final-maps\n"; | "locale/etc/final-maps\n"; | ||||
| $SRCOUT2 = "LC_COLLATE"; | $SRCOUT2 = "LC_COLLATE"; | ||||
| $SRCOUT3 = "" . | $SRCOUT3 = "" . | ||||
| ".for f t in \${LOCALES_MAPPED}\n" . | ".for f t in \${LOCALES_MAPPED}\n" . | ||||
| "FILES+=\t\$t.LC_COLLATE\n" . | "FILES+=\t\$t.LC_COLLATE\n" . | ||||
| "FILESDIR_\$t.LC_COLLATE=\t\${LOCALEDIR}/\$t\n" . | "FILESDIR_\$t.LC_COLLATE=\t\${LOCALEDIR}/\$t\n" . | ||||
| "FILESDIR_\$t.LC_COLLATEPACKAGE=\tlocales\n" . | |||||
| "\$t.LC_COLLATE: \${.CURDIR}/\$f.src\n" . | "\$t.LC_COLLATE: \${.CURDIR}/\$f.src\n" . | ||||
| "\tlocaledef \${LOCALEDEF_ENDIAN} -D -U " . | "\tlocaledef \${LOCALEDEF_ENDIAN} -D -U " . | ||||
| "-i \${.ALLSRC} \\\n" . | "-i \${.ALLSRC} \\\n" . | ||||
| "\t-V \${CLDR_VERSION} \\\n" . | "\t-V \${CLDR_VERSION} \\\n" . | ||||
| "\t\t-f \${MAPLOC}/map.\${.TARGET:T:R:E:C/@.*//} \\\n" . | "\t\t-f \${MAPLOC}/map.\${.TARGET:T:R:E:C/@.*//} \\\n" . | ||||
| "\t\t\${.OBJDIR}/\${.TARGET:T:R}\n" . | "\t\t\${.OBJDIR}/\${.TARGET:T:R}\n" . | ||||
| ".endfor\n\n"; | ".endfor\n\n"; | ||||
| $SRCOUT4 = "## LOCALES_MAPPED\n"; | $SRCOUT4 = "## LOCALES_MAPPED\n"; | ||||
| ▲ Show 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | |||||
| LOCALEDIR_\$t= \${LOCALEDIR}/\$t | LOCALEDIR_\$t= \${LOCALEDIR}/\$t | ||||
| LOCALEDIR_\$tPACKAGE= locales | LOCALEDIR_\$tPACKAGE= locales | ||||
| SYMLINKS+= ../\$f/\${FILESNAME} \\ | SYMLINKS+= ../\$f/\${FILESNAME} \\ | ||||
| \${LOCALEDIR}/\$t/\${FILESNAME} | \${LOCALEDIR}/\$t/\${FILESNAME} | ||||
| .endfor | .endfor | ||||
| .for f in \${LOCALES} | .for f in \${LOCALES} | ||||
| FILESDIR_\${f}.${SRCOUT2}= \${LOCALEDIR}/\${f} | FILESDIR_\${f}.${SRCOUT2}= \${LOCALEDIR}/\${f} | ||||
| FILESDIR_\${f}.${SRCOUT2}PACKAGE= locales | |||||
bapt: I believe this should be "=locales" not \${LOCALEDIR}/\${f} | |||||
Done Inline ActionsYes, sorry. That's what happens when you try to apply a diff manually. jlduran: Yes, sorry. That's what happens when you try to apply a diff manually.
| |||||
| .endfor | .endfor | ||||
| ${SRCOUT3}.include <bsd.prog.mk> | ${SRCOUT3}.include <bsd.prog.mk> | ||||
| EOF | EOF | ||||
| close(FOUT); | close(FOUT); | ||||
| } | } | ||||
I believe this should be "=locales" not \${LOCALEDIR}/\${f}