--- net-im/libpurple/Makefile +++ net-im/libpurple/Makefile @@ -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: " @@ -98,13 +98,6 @@ 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} USES+= perl5 CONFIGURE_ARGS+= --with-perl-lib=site