Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2016 12:03:51 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408170 - head/net/ccxstream
Message-ID:  <201602051203.u15C3pqD092212@repo.freebsd.org>

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



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