summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/libpurple/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile
index 15f03796f8ab..eca11424dca9 100644
--- a/net-im/libpurple/Makefile
+++ b/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