Package-Manager: portage-2.2.27
--- /dev/null
+--- a/configure.ac
++++ b/configure.ac
+@@ -423,6 +423,8 @@
+ foundlcurses=yes curseaux="-lcurses" termcontrol="curses" )
+ fi
+
++ AC_SEARCH_LIBS([stdscr], tinfo ncurses,curseaux="$curseaux $ac_res")
++
+ if test "$foundlcurses" != "yes"; then
+ AC_MSG_ERROR(Failed to find libcurses or libncurses. Install them or disable building the Kismet client with --disable-client. Disabling the client is probably not something you want to do normally.)
+ fi
"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
conf/kismet.conf.in