ports/net/ocserv/patches/patch-configure_ac

12 lines
360 B
Text

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -222,7 +222,7 @@ if test "$test_for_geoip" = yes && test "$have_maxmind
fi
have_readline=no
-AC_LIB_HAVE_LINKFLAGS(readline,, [
+AC_LIB_HAVE_LINKFLAGS(readline,ncurses, [
#include <stdio.h>
#include <readline/readline.h>], [rl_replace_line(0,0);])
if test x$ac_cv_libreadline = xyes; then