aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-10-21 14:42:24 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-10-21 14:42:24 +0000
commit3117796d003ed00bd91c37e3161995d0d9fbfea0 (patch)
tree8ab06825e8a3730f704bf95a264eb5c36abe2d21 /irc
parent1e6e8623250ea21d92df70fd9f77f74a01bbc1a4 (diff)
downloadports-3117796d003ed00bd91c37e3161995d0d9fbfea0.tar.gz
ports-3117796d003ed00bd91c37e3161995d0d9fbfea0.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi/Makefile1
-rw-r--r--irc/irssi/files/patch-configure19
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 :