diff options
Diffstat (limited to 'irc')
-rw-r--r-- | irc/irssi/Makefile | 1 | ||||
-rw-r--r-- | irc/irssi/files/patch-configure | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index 0bb31ca2b5da..690e37eda30d 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -16,6 +16,7 @@ CONFLICTS= irssi-devel-[0-9]* zh-irssi-[0-9]* USES= pkgconfig ncurses gmake USE_BZIP2= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ncurses=${NCURSESBASE} OPTIONS_DEFINE= PERL PROXY SOCKS IPV6 BOT DOCS SOCKS_DESC= Socks proxy support diff --git a/irc/irssi/files/patch-configure b/irc/irssi/files/patch-configure new file mode 100644 index 000000000000..04228a606f57 --- /dev/null +++ b/irc/irssi/files/patch-configure @@ -0,0 +1,19 @@ +--- configure.orig 2010-04-04 00:21:26.000000000 +0800 ++++ configure 2013-10-21 22:33:39.000000000 +0800 +@@ -12982,12 +12982,12 @@ if test "${with_ncurses+set}" = set; the + + if $search_ncurses + then +- if test -f $withval/include/ncurses.h ++ if test -f $withval/include/ncurses/ncurses.h + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found ncurses on $withval/include/ncurses.h" >&5 +-$as_echo "Found ncurses on $withval/include/ncurses.h" >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found ncurses on $withval/include/ncurses/ncurses.h" >&5 ++$as_echo "Found ncurses on $withval/include/ncurses/ncurses.h" >&6; } + +- CURSES_LIBS="-L$withval/lib -lncurses" ++ CURSES_LIBS="-L$withval/lib -lncurses -ltinfo" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 + $as_echo_n "checking for initscr in -lncurses... " >&6; } + if test "${ac_cv_lib_ncurses_initscr+set}" = set; then : |