Build ncurses from sources HOWTO?
unga888 at yahoo.com
Wed Aug 13 05:29:04 UTC 2008
I'm learning to build ncurses-5.6 from sources (ie. outside of ports) on i386 FreeBSD 7.0 (RELENG_7).
As the first step, I want to make sure I patch the ncurses-5.6.tar.gz correctly. Here is what I do:
1. Download ncurses-5.6.tar.gz from http://ftp.gnu.org/pub/gnu/ncurses/
2. Download patches from ftp://invisible-island.net/ncurses/5.6/
tar xzf ncurses-5.6.tar.gz
patch -Np1 -i ../ncurses-5.6-20080628.patch
patch -Np1 -i ../ncurses-5.6-20080705.patch
patch -Np1 -i ../ncurses-5.6-20080712.patch
patch -Np1 -i ../ncurses-5.6-20080713.patch
patch -Np1 -i ../ncurses-5.6-20080726.patch
patch -Np1 -i ../ncurses-5.6-20080804.patch
5. Post patch
sed -i '' -e 's,$(INSTALL_PROG) ncurses-config, at INSTALL_SCRIPT@ ncurses-config,' misc/Makefile.in
rm -rfv tack Ada95/src/terminal_interface-curses.adb mkinstalldirs
Here are my questions:
1. Have I patched correctly? Are there anymore patches to apply or have I patch too much?
2. Are there anymore Post patch actions to be performed?
Your help in this regard is very much appreciated and many thanks in advance.
More information about the freebsd-questions