Use :E instead of regex in ctypedef Makefiles

This commit is contained in:
bapt 2015-12-19 12:26:01 +00:00
parent cfc55c20f2
commit 1cc4eb0cac
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ MAPLOC= ${.CURDIR}/../../tools/tools/locale/etc/final-maps
.src.LC_CTYPE:
localedef -D -U -c -w ${MAPLOC}/widths.txt \
-f ${MAPLOC}/map.${.IMPSRC:T:R:C/^.*\.//} \
-f ${MAPLOC}/map.${.IMPSRC:T:R:E} \
-i ${.IMPSRC} ${.OBJDIR}/${.IMPSRC:T:R} || true
LOCALES+= be_BY.CP1131

View File

@ -808,7 +808,7 @@ sub make_makefile {
}
elsif ($TYPE eq "ctypedef") {
$SRCOUT = "localedef -D -U -c -w \${MAPLOC}/widths.txt \\\n" .
"\t-f \${MAPLOC}/map.\${.IMPSRC:T:R:C/^.*\\.//} " .
"\t-f \${MAPLOC}/map.\${.IMPSRC:T:R:E} " .
"\\\n\t-i \${.IMPSRC} \${.OBJDIR}/\${.IMPSRC:T:R} " .
" || true";
$SRCOUT2 = "LC_CTYPE";