From c31ad62155871861b771e7c7805d73990c84477e Mon Sep 17 00:00:00 2001 From: John Marino Date: Fri, 5 Feb 2016 12:03:51 +0000 Subject: net/ccxstream: USES+= ncurses, link libnurses not libtermcap --- net/ccxstream/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/ccxstream/Makefile b/net/ccxstream/Makefile index bd6e15fed173..76aea3c6635c 100644 --- a/net/ccxstream/Makefile +++ b/net/ccxstream/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= SF/xbplayer/XStream%20Servers/ccXStream%20${PORTVERSION}%20for%20L MAINTAINER= ports@FreeBSD.org COMMENT= Stream media files to XBox Media Center via XBMSP -USES= gmake readline +USES= gmake ncurses readline USE_RC_SUBR= ccxstream PLIST_FILES= bin/ccxtest \ @@ -24,6 +24,9 @@ SO_KEEPALICE_CFLAGS= -DSO_KEEPALIVE TCP_NODELAY_DESC= Build with TCP_NODELAY TCP_NODELAY_CFLAGS= -DTCP_NODELAY +post-patch: + @${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ccxstream ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/ccxtest ${STAGEDIR}${PREFIX}/bin -- cgit v1.2.3