Thread: DIY - KeK
View Single Post
Old 08-08-2012, 06:33 PM   #159
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
NiLuJe ncurses stage

Quote:
Originally Posted by NiLuJe View Post
@twobob: Check my ncurses stage (or a Gentoo ebuild) if you want to preserve ABI compatiblity with previous ncurses version (5.4), there's a bunch of flags to pass to configure to avoid mismatch in data types.
NiLuJe ncurses stage For easy Ref
Spoiler:
## ncurses & htop for USBNet
echo "* Building ncurses . . ."
echo ""
cd ..
tar xvzf /usr/portage/distfiles/ncurses-5.9.tar.gz
cd ncurses-5.9
export CFLAGS="${BASE_CFLAGS}"
export CXXFLAGS="${BASE_CFLAGS}"
patch -p1 < /usr/portage/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch
patch -p1 < /usr/portage/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch
patch -p0 < /usr/portage/sys-libs/ncurses/files/ncurses-5.9-rxvt-unicode-9.15.patch
sed -i -e '/^PKG_CONFIG_LIBDIR/s:=.*:=$(libdir)/pkgconfig:' misc/Makefile.in || die
unset TERMINFO
export CPPFLAGS="${BASE_CPPFLAGS} -D_GNU_SOURCE"
./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --with-normal --with-chtype=long --with-mmask-t=long --disable-ext-colors --disable-ext-mouse --without-pthread --without-reentrant --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" --with-shared --without-hashed-db --without-ada --without-cxx --without-cxx-binding --without-debug --without-profile --without-gpm --disable-termcap --enable-symlinks --with-rcs-ids --with-manpage-format=normal --enable-const --enable-colorfgbg --enable-echo --enable-pc-files
make -j1 sources
rm -f misc/pc-files
make -j2 -C progs tic
make install
twobob is offline   Reply With Quote