Date: Sat, 19 Dec 2015 12:26:01 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292466 - in head: share/ctypedef tools/tools/locale/tools Message-ID: <201512191226.tBJCQ1N2000549@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Dec 19 12:26:01 2015 New Revision: 292466 URL: https://svnweb.freebsd.org/changeset/base/292466 Log: Use :E instead of regex in ctypedef Makefiles Modified: head/share/ctypedef/Makefile head/tools/tools/locale/tools/cldr2def.pl Modified: head/share/ctypedef/Makefile ============================================================================== --- head/share/ctypedef/Makefile Sat Dec 19 09:18:01 2015 (r292465) +++ head/share/ctypedef/Makefile Sat Dec 19 12:26:01 2015 (r292466) @@ -9,7 +9,7 @@ MAPLOC= ${.CURDIR}/../../tools/tools/lo .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 Modified: head/tools/tools/locale/tools/cldr2def.pl ============================================================================== --- head/tools/tools/locale/tools/cldr2def.pl Sat Dec 19 09:18:01 2015 (r292465) +++ head/tools/tools/locale/tools/cldr2def.pl Sat Dec 19 12:26:01 2015 (r292466) @@ -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";
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512191226.tBJCQ1N2000549>