summaryrefslogtreecommitdiffstats
path: root/lib/libncurses
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-04-18 13:01:07 +0000
committerru <ru@FreeBSD.org>2003-04-18 13:01:07 +0000
commit194f63b268763c8a66681f9a25a5f0849e5daba7 (patch)
tree86076a5d32216d65df58b15cb9fc0328ecb62fb7 /lib/libncurses
parentd9c56fdf9e586858940cd499c84794f809c04da0 (diff)
downloadFreeBSD-src-194f63b268763c8a66681f9a25a5f0849e5daba7.zip
FreeBSD-src-194f63b268763c8a66681f9a25a5f0849e5daba7.tar.gz
Make this compile under cs_CZ.ISO8859-2 locale.
Reported by: Pav Lucistnik <pav@oook.cz> We hit this problem earlier, in PR misc/45460.
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index a3ee27b5..b57439e 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -272,7 +272,7 @@ codes.c: namehdr ${CODESRC} codeftr
cat namehdr ${CODESRC} codeftr > $@
lib_gen.c: MKlib_gen.sh curses.h
- sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
+ LC_ALL=C sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
"${AWK}" generated < curses.h >$@
lib_keyname.c: keys.list MKkeyname.awk
@@ -297,7 +297,7 @@ ncurses_def.h: MKncurses_def.sh ncurses_defs
${NCURSES}/include/ncurses_defs > ncurses_def.h
nomacros.h: MKlib_gen.sh curses.h
- sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
+ LC_ALL=C sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
"${AWK}" generated < curses.h | fgrep undef > $@
init_keytry.h: keys.list make_keys
@@ -325,7 +325,7 @@ curses.h: curses.head MKkey_defs.sh Caps
# Generated intermediate files
keys.list: MKkeys_list.sh Caps
AWK=${AWK} sh ${NCURSES}/ncurses/tinfo/MKkeys_list.sh \
- ${NCURSES}/include/Caps | sort > keys.list
+ ${NCURSES}/include/Caps | LC_ALL=C sort > keys.list
# Build tools
build-tools: make_hash make_keys
OpenPOWER on IntegriCloud