Off:Az érdekesség kedvéért én is beszúrom a mc-fordító scriptem:
PATH=/usr/local/bin:$PATH
if [ ! -f lib/tty/tty.cold ]; then cp -a lib/tty/tty.c lib/tty/tty.cold
else cp -a lib/tty/tty.cold lib/tty/tty.c
fi
(
set -x
cd lib/tty
cat >tty.patch <<DONE
111a112
> || strncmp (termvalue, "putty", 5) == 0
DONE
patch -i tty.patch tty.c
) 2>&1 | tee log.patch
make clean
set -e
export CFLAGS="$COMMON_CFLAGS32"
export CPPFLAGS="$COMMON_CPPFLAGS"
export LDFLAGS="$COMMON_LDFLAGS32"
./configure \
--enable-shared \
--enable-static \
--prefix=/usr/local \
--without-x \
--with-screen=slang \
--without-gpm-mouse \
--enable-nls \
--enable-extcharset \
2>&1 | tee log.configure
(make V=1 all && make install) 2>&1 | tee log.make