ports/security/openssh-portable/files/patch-configure.ac
John Marino 6f41150b29 x11/xterm: document ncurses requirement (USES+=ncurses)
also link to libncurses rather than libcurses

approved by:	infrastructure blanket
2016-02-03 22:15:11 +00:00

11 lines
369 B
Text

--- configure.ac.intermediate 2016-02-03 22:06:00 UTC
+++ configure.ac
@@ -1543,7 +1543,7 @@ AC_ARG_WITH([libedit],
LIBEDIT=`$PKGCONFIG --libs libedit`
CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`"
else
- LIBEDIT="-ledit -lcurses"
+ LIBEDIT="-ledit -lncurses"
fi
OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'`
AC_CHECK_LIB([edit], [el_init],