You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/nstats/files/nstats-0.4-tinfo.patch

19 lines
469 B

--- a/configure.in
+++ b/configure.in
@@ -15,11 +15,12 @@
AC_TYPE_SIGNAL
+PKG_CHECK_MODULES(ncurses,ncurses,,AC_MSG_ERROR([ncurses is needed]))
AC_CHECK_LIB(ncurses,initscr,[
- NMON_LIB="${NMON_LIB} -lncurses"
- BMON_LIB="${BMON_LIB} -lncurses"
- CMON_LIB="${CMON_LIB} -lncurses"
+ NMON_LIB="${NMON_LIB} $ncurses_LIBS"
+ BMON_LIB="${BMON_LIB} $ncurses_LIBS"
+ CMON_LIB="${CMON_LIB} $ncurses_LIBS"
],[
echo
echo "Missing dependency"