|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../ncurses/ncurses.conf |
|
|
|
|
# Copyright (C) 2006 - 2008 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2006 - 2010 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
|
# |
|
|
|
@ -118,6 +118,18 @@ var_append extraconfopt " " "--enable-hard-tabs"
|
|
|
|
|
# compile with $COLORFGBG code |
|
|
|
|
var_append extraconfopt " " "--enable-colorfgbg" |
|
|
|
|
|
|
|
|
|
# always create compatibility symlinks for curses |
|
|
|
|
make_curses_symlinks() { |
|
|
|
|
echo "Creating compatibility symlinks for curses." |
|
|
|
|
|
|
|
|
|
if [ "$SDECFG_STATIC" != 1 ]; then |
|
|
|
|
ln -svf libncurses.so $root$libdir/libcurses.so |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
ln -svf libncurses.a $root$libdir/libcurses.a |
|
|
|
|
} |
|
|
|
|
hook_add postmake 5 "make_curses_symlinks" |
|
|
|
|
|
|
|
|
|
remove_include_termcap() { |
|
|
|
|
echo "Removing 'termcap.h' from include/Makefile for 'make install'." |
|
|
|
|
sed -i 's,termcap.h,,g' include/Makefile |
|
|
|
@ -128,11 +140,9 @@ make_termcap_symlinks() {
|
|
|
|
|
|
|
|
|
|
if [ "$SDECFG_STATIC" != 1 ]; then |
|
|
|
|
ln -svf libncurses.so $root$libdir/libtermcap.so |
|
|
|
|
ln -svf libncurses.so $root$libdir/libcurses.so |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
ln -svf libncurses.a $root$libdir/libtermcap.a |
|
|
|
|
ln -svf libncurses.a $root$libdir/libcurses.a |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if pkginstalled termcap ; then |
|
|
|
|