openbsd-ports/net/irssi/patches/patch-curses_m4
reinhard db7761ab91 Irssi is a modular IRC client that currently has only text mode user
interface, but 80-90% of the code isn't text mode specific, so other UIs could
be created pretty easily. Also, Irssi isn't really even IRC specific anymore,
there's already a working SILC module available. Support for other protocols
like ICQ could be created some day too.
2000-12-26 22:33:28 +00:00

22 lines
1.2 KiB
Plaintext

$OpenBSD: patch-curses_m4,v 1.1.1.1 2000/12/26 22:33:28 reinhard Exp $
--- curses.m4.orig Sat Nov 11 18:00:36 2000
+++ curses.m4 Mon Dec 25 14:20:47 2000
@@ -131,7 +131,7 @@ AC_DEFUN(AC_CHECK_CURSES,[
if test x$withval = xno ; then
search_ncurses=false
elif test x$withval != xyes ; then
- AC_NCURSES($withval/include, ncurses.h, -L$withval/lib -lncurses, -I$withval/include, "ncurses on $withval/include")
+ AC_NCURSES($withval/include, ncurses.h, -L$withval/lib -lcurses, -I$withval/include, "ncurses on $withval/include")
fi
)
@@ -231,7 +231,7 @@ AC_DEFUN(AC_NCURSES, [
AC_DEFUN(AC_SEARCH_NCURSES, [
AC_CHECKING("location of ncurses.h file")
- AC_NCURSES(/usr/include, ncurses.h, -lncurses,, "ncurses on /usr/include")
+ AC_NCURSES(/usr/include, ncurses.h, -lcurses,, "ncurses on /usr/include")
AC_NCURSES(/usr/include/ncurses, ncurses.h, -lncurses, -I/usr/include/ncurses, "ncurses on /usr/include/ncurses")
AC_NCURSES(/usr/local/include, ncurses.h, -L/usr/local/lib -lncurses, -I/usr/local/include, "ncurses on /usr/local")
AC_NCURSES(/usr/pkg/include, ncurses.h, -L/usr/pkg/lib -lncurses, -I/usr/pkg/include, "ncurses on /usr/pkg")