diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -55,6 +55,16 @@ install: build rm dest*/usr/lib/$(OPK_HOST_ARCH)/*.a mv dest-ncurses/usr/bin/clear dest-ncurses/usr/bin/clear.ncurses mv dest-ncurses/usr/bin/reset dest-ncurses/usr/bin/reset.ncurses + @# Rename wide-char libtinfo to libtinfow. + set -e; pc=usr/lib/$(OPK_HOST_ARCH)/pkgconfig/ncursesw.pc; \ + for d in dest-ncursesw dest-ncursesw-legacy; do \ + (cd $${d}/usr/lib/$(OPK_HOST_ARCH); \ + for f in libtinfo*; do \ + mv "$${f}" "libtinfow$${f#libtinfo}"; \ + done); \ + mv $${d}/$${pc} $${d}/$${pc}.orig; \ + sed 's/-ltinfo/-ltinfow/' $${d}/$${pc}.orig 1>$${d}/$${pc}; \ + done rm dest*/usr/bin/ncurses*-config rm dest-ncurses/usr/share/man/man1/ncurses*-config.1 @# Extract a few individual terminal type definitions. This would be |