aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2003-04-18 13:01:07 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2003-04-18 13:01:07 +0000
commit27220696ca0bbcbd255e974cf23dcfbd014c7507 (patch)
tree86076a5d32216d65df58b15cb9fc0328ecb62fb7
parent11589318f3bb4cd561af4cb65f92b07244ef01c4 (diff)
downloadsrc-27220696ca0bbcbd255e974cf23dcfbd014c7507.tar.gz
src-27220696ca0bbcbd255e974cf23dcfbd014c7507.zip
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.
Notes
Notes: svn path=/head/; revision=113664
-rw-r--r--lib/libncurses/Makefile6
-rw-r--r--lib/ncurses/ncurses/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index a3ee27b54237..b57439eb72ac 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
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index a3ee27b54237..b57439eb72ac 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/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