diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile index 12cb9e36b685..6e2619457b44 100644 --- a/lib/libncurses/Makefile +++ b/lib/libncurses/Makefile @@ -318,7 +318,7 @@ term.h: MKterm.h.awk edit_cfg.sh Caps curses.h: curses.head MKkey_defs.sh Caps cat curses.head > $@.new - AWK=${AWK} sh ${NCURSES}/include/MKkey_defs.sh \ + AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES}/include/MKkey_defs.sh \ ${NCURSES}/include/Caps >> $@.new cat ${NCURSES}/include/curses.tail >> $@.new mv -f $@.new $@ diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile index 12cb9e36b685..6e2619457b44 100644 --- a/lib/ncurses/ncurses/Makefile +++ b/lib/ncurses/ncurses/Makefile @@ -318,7 +318,7 @@ term.h: MKterm.h.awk edit_cfg.sh Caps curses.h: curses.head MKkey_defs.sh Caps cat curses.head > $@.new - AWK=${AWK} sh ${NCURSES}/include/MKkey_defs.sh \ + AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES}/include/MKkey_defs.sh \ ${NCURSES}/include/Caps >> $@.new cat ${NCURSES}/include/curses.tail >> $@.new mv -f $@.new $@