svn commit: r527654 - head/net-im/libpurple

Joe Marcus Clarke marcus at FreeBSD.org
Mon Mar 2 22:29:45 UTC 2020


Author: marcus
Date: Mon Mar  2 22:29:44 2020
New Revision: 527654
URL: https://svnweb.freebsd.org/changeset/ports/527654

Log:
  Use standard ncurses build mechanism.
  
  PR:		243949
  Submitted by:	swills

Modified:
  head/net-im/libpurple/Makefile

Modified: head/net-im/libpurple/Makefile
==============================================================================
--- head/net-im/libpurple/Makefile	Mon Mar  2 22:23:10 2020	(r527653)
+++ head/net-im/libpurple/Makefile	Mon Mar  2 22:29:44 2020	(r527654)
@@ -76,8 +76,8 @@ PLIST_SUB+=	GTKUI="@comment not installed: "
 .endif
 
 .if defined(WITH_CONSOLEUI)
-OPTIONS_DEFINE+=NCURSES
-NCURSES_DESC=	Build with ncurses from ports
+USES+=		ncurses
+CONFIGURE_ARGS+=--with-ncurses-headers=${NCURSESINC}
 PLIST_SUB+=	CONSOLEUI=""
 .else
 PLIST_SUB+=	CONSOLEUI="@comment not installed: "
@@ -96,13 +96,6 @@ PLIST_SUB+=		TCL:=""
 .else
 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
 
 .if ${PORT_OPTIONS:MPERL}


More information about the svn-ports-all mailing list