svn commit: r404029 - head/net-im/libpurple
Joe Marcus Clarke
marcus at FreeBSD.org
Sat Dec 19 21:40:43 UTC 2015
Author: marcus
Date: Sat Dec 19 21:40:41 2015
New Revision: 404029
URL: https://svnweb.freebsd.org/changeset/ports/404029
Log:
Add support for building finch with port's ncurses.
PR: 205407
Modified:
head/net-im/libpurple/Makefile
Modified: head/net-im/libpurple/Makefile
==============================================================================
--- head/net-im/libpurple/Makefile Sat Dec 19 21:31:43 2015 (r404028)
+++ head/net-im/libpurple/Makefile Sat Dec 19 21:40:41 2015 (r404029)
@@ -77,6 +77,8 @@ PLIST_SUB+= GTKUI="@comment not installe
.endif
.if defined(WITH_CONSOLEUI)
+OPTIONS_DEFINE+=NCURSES
+NCURSES_DESC= Build with ncurses from ports
PLIST_SUB+= CONSOLEUI=""
.else
PLIST_SUB+= CONSOLEUI="@comment not installed: "
@@ -97,6 +99,13 @@ CONFIGURE_ARGS+= --disable-tcl
PLIST_SUB+= TCL:="@comment not installed: "
.endif
+.if ${PORT_OPTIONS:MNCURSES}
+USES+= ncurses:port
+CONFIGURE_ARGS+=--with-ncurses-headers=${LOCALBASE}/include/ncurses/
+.else
+USES+= ncurses
+.endif
+
.include <bsd.port.pre.mk>
.if !defined(PIDGIN_SLAVE)
More information about the svn-ports-head
mailing list