|
|
|
@ -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 |
|
|
|
|