summaryrefslogtreecommitdiff
path: root/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-tinfo.patch
blob: aa2768fdf57f5f96a9ecc3b2088c97e10a5542ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
https://bugs.gentoo.org/690114

--- a/configure.ac
+++ b/configure.ac
@@ -11,9 +11,14 @@
 AC_PROG_CC
 AM_PROG_LIBTOOL
 AC_PROG_INSTALL
+PKG_PROG_PKG_CONFIG
 
 dnl Checks for libraries.
-AC_CHECK_LIB(ncurses, initscr, ,curses)
+PKG_CHECK_MODULES(NCURSES, ncurses, [
+		  LIBS="$LIBS $NCURSES_LIBS"
+		 ],[
+		  AC_MSG_ERROR([Cannot find ncurses lib])
+		 ])
 
 dnl Checks for header files.
 AC_CHECK_HEADERS(signal.h)