svn commit: r408170 - head/net/ccxstream

John Marino marino at FreeBSD.org
Fri Feb 5 12:03:52 UTC 2016


Author: marino
Date: Fri Feb  5 12:03:51 2016
New Revision: 408170
URL: https://svnweb.freebsd.org/changeset/ports/408170

Log:
  net/ccxstream: USES+= ncurses, link libnurses not libtermcap

Modified:
  head/net/ccxstream/Makefile

Modified: head/net/ccxstream/Makefile
==============================================================================
--- head/net/ccxstream/Makefile	Fri Feb  5 12:02:37 2016	(r408169)
+++ head/net/ccxstream/Makefile	Fri Feb  5 12:03:51 2016	(r408170)
@@ -10,7 +10,7 @@ MASTER_SITES=	SF/xbplayer/XStream%20Serv
 MAINTAINER=	ports at 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


More information about the svn-ports-all mailing list