SwordArMor-gentoo-overlay/net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch

11 lines
280 B
Diff
Raw Normal View History

--- a/configure.d/config_os_libs2
+++ b/configure.d/config_os_libs2
@@ -601,6 +601,7 @@
[HAVE_LIBCURSES=FALSE],,
[LIBCURSES])
AC_SUBST([HAVE_LIBCURSES])
+NETSNMP_SEARCH_LIBS([cbreak], [tinfo],[LIBCURSES="$LIBCURSES -ltinfo"],,,)
AC_SUBST([LIBCURSES])
# libm for ceil