Files
gentoo/mail-client/hap/files/hap-3.7-ncurses.patch
Mikle Kolyada a47bd35f59 mail-client/hap: port to EAPI=7
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
2020-02-09 14:41:38 +03:00

15 lines
503 B
Diff

--- a/configure.in 1996-07-17 00:50:03.000000000 +0300
+++ b/configure.in 2013-03-06 15:09:29.579148360 +0200
@@ -6,8 +6,9 @@
AC_PROG_INSTALL
dnl Checks for libraries.
-dnl Replace `main' with a function in -ltermcap:
-AC_CHECK_LIB(termcap, tputs)
+dnl Replace `main' with a function in -lncurses or -ltinfo
+AC_CHECK_LIB(ncurses, tputs,,
+ [AC_CHECK_LIB(tinfo, tputs)])
dnl Checks for header files.
AC_CHECK_HEADERS(sgtty.h unistd.h libc.h termcap.h strings.h string.h dirent.h sys/ioctl.h)