openbsd-ports/mail/nmzmail/patches/patch-configure_ac
sthen df3f6cbd7e import mail/nmzmail:
nmzmail is a tool to use the namazu search engine from within the
mutt mail client to search mail stored in maildir folders. Based
on the result of the namazu query, nmzmail generates a maildir
folder containing symbolic links to the mails matching the query.
A simple mutt macro makes it easy to use nmzmail from within mutt.

nmzmail is pretty similar to mairix, but the code is much simpler,
as it uses an external program as search engine.
2009-08-14 00:02:10 +00:00

14 lines
642 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.1.1.1 2009/08/14 00:02:10 sthen Exp $
--- configure.ac.orig Mon Apr 20 07:10:12 2009
+++ configure.ac Thu Aug 13 16:04:17 2009
@@ -37,7 +37,8 @@ AC_CHECK_FUNCS([dup2 setenv strchr strdup strrchr strs
# Check for readline
AC_CHECK_HEADERS([readline/readline.h], [], [echo "Error: readline headers not found."; exit 1;])
-AC_CHECK_LIB([readline], [open], [], [echo "Error: libreadline.so not found."; exit 1;])
+AC_SEARCH_LIBS(tgetent, termcap terminfo termlib)
+AC_CHECK_LIB([readline], [open], [], [echo "Error: libreadline.so not found."; exit 1;])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT