pkgsrc/security/heimdal/patches/patch-lib_libedit_configure.ac
rodent 602e6bcd85 Apply patch from FreeBSD ports to patch-configure. This will allow the
package to build and install lib/windc.la, which is the cause of the
installation failure. This is evident when PREFER_PKGSRC=yes. Defuzz
patches.
2015-07-11 04:26:57 +00:00

20 lines
671 B
Text

$NetBSD: patch-lib_libedit_configure.ac,v 1.2 2015/07/11 04:26:57 rodent Exp $
Include termcap in the termcap test
--- lib/libedit/configure.ac.orig 2012-12-09 22:06:44.000000000 +0000
+++ lib/libedit/configure.ac
@@ -33,9 +33,10 @@ AC_PROG_AWK
EL_MANTYPE
-AC_CHECK_LIB(curses, tgetent,,
- [AC_CHECK_LIB(ncurses, tgetent,,
- [AC_MSG_ERROR([libcurses or libncurses are required!])] )] )
+AC_CHECK_LIB(termcap, tgetent,,
+ [AC_CHECK_LIB(curses, tgetent,,
+ [AC_CHECK_LIB(ncurses, tgetent,,
+ [AC_MSG_ERROR([libtermcap, libcurses or libncurses are required!])] )] )] )
### use option --enable-widec to turn on use of wide-character support