aboutsummaryrefslogtreecommitdiff
path: root/share/ctypedef
diff options
context:
space:
mode:
authorYuri Pankov <yuripv@FreeBSD.org>2018-10-20 20:51:05 +0000
committerYuri Pankov <yuripv@FreeBSD.org>2018-10-20 20:51:05 +0000
commit4644f9bef6bcfa8d1ead9db38a548567cda8eac6 (patch)
treebf3f05ef69b6c102a205b879802d456e8bd98265 /share/ctypedef
parentf4f33ea0c752ff0f9bfad34991d5bbb54e71133d (diff)
downloadsrc-4644f9bef6bcfa8d1ead9db38a548567cda8eac6.tar.gz
src-4644f9bef6bcfa8d1ead9db38a548567cda8eac6.zip
Notes
Diffstat (limited to 'share/ctypedef')
-rw-r--r--share/ctypedef/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/ctypedef/Makefile b/share/ctypedef/Makefile
index 028baf460e5b..8ba4c76d59aa 100644
--- a/share/ctypedef/Makefile
+++ b/share/ctypedef/Makefile
@@ -7,8 +7,10 @@ FILESNAME= LC_CTYPE
.SUFFIXES: .src .LC_CTYPE
MAPLOC= ${.CURDIR}/../../tools/tools/locale/etc/final-maps
+.include <bsd.endian.mk>
+
.src.LC_CTYPE:
- localedef -D -U -c -w ${MAPLOC}/widths.txt \
+ localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
-f ${MAPLOC}/map.${.IMPSRC:T:R:E} \
-i ${.IMPSRC} ${.OBJDIR}/${.IMPSRC:T:R} || true
@@ -238,7 +240,7 @@ SYMPAIRS+= be_BY.CP1131.src ru_RU.KOI8-R.src
.for s t in ${SYMPAIRS}
${t:S/src$/LC_CTYPE/}: $s
- localedef -D -U -c -w ${MAPLOC}/widths.txt \
+ localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
-f ${MAPLOC}/map.${.TARGET:T:R:C/^.*\.//} \
-i ${.ALLSRC} ${.OBJDIR}/${.TARGET:T:R} || true
.endfor