Browse Source

ncurses: fixed to build a native tic only which we'll use for generating the terminfo stuff while cross-compiling a stage 1

stable/0.2
Christian Wiese 14 years ago
parent
commit
28f31f2761
  1. 22
      base/ncurses/ncurses.conf
  2. 2
      base/ncurses/ncurses.desc

22
base/ncurses/ncurses.conf

@ -36,6 +36,27 @@ var_append patchfiles " " "$localpatches"
# on dietlibc we won't use NLS
[ "$SDECFG_LIBC" != dietlibc ] || SDECFG_DISABLE_NLS=1
if atstage toolchain; then
buildloops=1
tic_only() {
mkdir build-tic
cd build-tic
# build a standalone termlib and dependendencyless ticlib
../configure --prefix=$root --without-debug --with-termlib \
--with-ticlib --disable-tic-depends --with-shared
# build needed header files
make -C include
# build and install a tic which is linked against libtinfo
# and libtic only
make -C progs tic
cp -a lib/libtinfo.so* $root/lib
cp -a lib/libtic.so* $root/lib
cp -a progs/tic $root/bin
}
custmain='tic_only'
else
# on systems having NLS support we build ncurses twice
if [ "$SDECFG_DISABLE_NLS" != 1 ]; then
buildloops=2
@ -154,3 +175,4 @@ else
hook_add postmake 6 "make_termcap_symlinks"
fi
fi

2
base/ncurses/ncurses.desc

@ -34,7 +34,7 @@
[L] MIT
[S] Stable
[V] 5.7-20110205
[P] X -1-3-----9 104.000
[P] X 01-3-----9 104.000
[D] 45974054 ncurses-5.7.tar.gz ftp://ftp.gnu.org/pub/gnu/ncurses/
# Official upstream patches

Loading…
Cancel
Save