diff options
author | Jay Freeman <saurik@saurik.com> | 2014-01-14 15:28:02 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2014-01-14 15:28:02 +0000 |
commit | 1badf13bdfe22d30b1e070f8f6dce8f119212d3d (patch) | |
tree | 12da1af5c1bf5a27f8e26fcd47f6044a273b6e18 /data | |
parent | 0dc6e39f1f35b0fb7adce12fc6604fceef3e0585 (diff) |
Unify with Apple, symlink their terminfo (do not overwrite).
git-svn-id: http://svn.telesphoreo.org/trunk@778 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r-- | data/ncurses/make.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/data/ncurses/make.sh b/data/ncurses/make.sh index a497f097e..abc3d080a 100644 --- a/data/ncurses/make.sh +++ b/data/ncurses/make.sh @@ -4,7 +4,7 @@ cd .. dir=$(echo *) mkdir bld-ncurses{,w} cd bld-ncurses -flags='--with-shared --without-normal --without-debug --enable-sigwinch' +flags='--with-shared --without-normal --without-debug --enable-sigwinch --disable-mixed-case --enable-termcap' PKG_CONF=../${dir}/configure pkg:configure ${flags} make #CFLAGS='-O2 -mthumb' pkg:install @@ -30,3 +30,7 @@ for ti in "${PKG_DEST}"/usr/share/terminfo/*/*; do done rmdir --ignore-fail-on-non-empty "${PKG_DEST}"/usr/share/terminfo/* + +for ti in "${PKG_DEST}"/usr/share/terminfo/*; do + ln -Tsf "${ti##*/}" "${PKG_DEST}"/usr/share/terminfo/"$(printf "%02x" "'${ti##*/}")" +done |