mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-11 07:44:12 +02:00
current 0.8.2-r2 USE=gtk didn't appear to function correctly. I fixed the deps to be a bit more explicit but that didn't fix it. Upgrading to current git snapshot fixed the issue so I am removing the non-working version and replacing it with a working version in one commit. Additionally removing unneeded patches, thanks to Sam for upstreaming them. Signed-off-by: Rick Farina <zerochaos@gentoo.org>
27 lines
563 B
Diff
27 lines
563 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -467,6 +467,7 @@
|
|
AC_DEFINE(HAVE_REMOTE_ADMIN)
|
|
fi
|
|
|
|
+PKG_CHECK_MODULES(ncurses,ncurses)
|
|
|
|
dnl Curses detection: Munged from Midnight Commander's configure.in
|
|
dnl
|
|
@@ -616,6 +617,16 @@
|
|
AC_DEFINE(USE_NCURSES)
|
|
AC_DEFINE(HAS_CURSES)
|
|
has_curses=true
|
|
+ else
|
|
+ if test "$ncurses_LIBS" ; then
|
|
+ CURSES_LIBS="$ncurses_LIBS"
|
|
+ CURSES_INCLUDEDIR="$ncurses_CFLAGS"
|
|
+ search_ncurses=false
|
|
+ screen_manager="ncurses"
|
|
+ AC_DEFINE(USE_NCURSES)
|
|
+ AC_DEFINE(HAS_CURSES)
|
|
+ has_curses=true
|
|
+ fi
|
|
fi
|
|
)
|
|
|