diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch')
-rw-r--r-- | net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch b/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch new file mode 100644 index 000000000000..cbe19e8c0eb7 --- /dev/null +++ b/net-mail/up-imapproxy/files/up-imapproxy-1.2.7-tinfo.patch @@ -0,0 +1,20 @@ +--- a/configure.in ++++ b/configure.in +@@ -121,12 +121,16 @@ + save_LIBS="$LIBS" + LIB_CURSES="" + AC_CHECK_LIB(curses, initscr, LIB_CURSES="-lcurses", [ curses_found=no ]) +-if test "$curses_found" == no; then ++if test "$curses_found" = no; then + AC_CHECK_LIB(ncurses, initscr, LIB_CURSES="-lncurses", + AC_ERROR([Can't compile without curses!!!])) + fi + + LIBS="$save_LIBS" ++ ++AC_SEARCH_LIBS(stdscr, tinfo curses ncurses, [LIB_CURSES="$LIB_CURSES $ac_cv_search_stdscr"], ++ AC_MSG_ERROR([Cannot find a library providing stdscr])) ++ + AC_SUBST(LIB_CURSES) + + |