Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2015 21:40:42 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404029 - head/net-im/libpurple
Message-ID:  <201512192140.tBJLegTt060916@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512192140.tBJLegTt060916>