svn commit: r331144 - in head/irc/irssi: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Mon Oct 21 14:42:25 UTC 2013
Author: vanilla
Date: Mon Oct 21 14:42:24 2013
New Revision: 331144
URL: http://svnweb.freebsd.org/changeset/ports/331144
Log:
Fix building with ports ncurses.
Added:
head/irc/irssi/files/patch-configure (contents, props changed)
Modified:
head/irc/irssi/Makefile
Modified: head/irc/irssi/Makefile
==============================================================================
--- head/irc/irssi/Makefile Mon Oct 21 14:24:28 2013 (r331143)
+++ head/irc/irssi/Makefile Mon Oct 21 14:42:24 2013 (r331144)
@@ -16,6 +16,7 @@ CONFLICTS= irssi-devel-[0-9]* zh-irssi-[
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
Added: head/irc/irssi/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/irssi/files/patch-configure Mon Oct 21 14:42:24 2013 (r331144)
@@ -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 :
More information about the svn-ports-all
mailing list