Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2020 22:29:44 +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: r527654 - head/net-im/libpurple
Message-ID:  <202003022229.022MTinM036548@repo.freebsd.org>

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



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