svn commit: r408336 - head/comms/unixcw

John Marino marino at FreeBSD.org
Sun Feb 7 00:03:19 UTC 2016


Author: marino
Date: Sun Feb  7 00:03:17 2016
New Revision: 408336
URL: https://svnweb.freebsd.org/changeset/ports/408336

Log:
  comms/unixcw: document ncurses requirement (USES+=ncurses)
  
  link with ncurses, not curses
  
  approved by:	infrastructure blanket

Modified:
  head/comms/unixcw/Makefile

Modified: head/comms/unixcw/Makefile
==============================================================================
--- head/comms/unixcw/Makefile	Sat Feb  6 23:58:42 2016	(r408335)
+++ head/comms/unixcw/Makefile	Sun Feb  7 00:03:17 2016	(r408336)
@@ -24,7 +24,7 @@ CONFIGURE_ARGS+=	--includedir="${LOCALBA
 			--disable-alsa --disable-pulseaudio
 
 USE_LDCONFIG=	yes
-USES+=		gmake libtool pkgconfig
+USES+=		gmake libtool ncurses pkgconfig
 USE_CSTD=	gnu99
 WRKSRC=		${WRKDIR}/unixcw-${PORTVERSION}
 MAJOR_LIB_VER=	6
@@ -32,6 +32,10 @@ MINOR_LIB_VER=	5.1
 PLIST_SUB=	MAJOR_LIB_VER=${MAJOR_LIB_VER}
 PLIST_SUB+=	MINOR_LIB_VER=${MINOR_LIB_VER}
 
+post-patch:
+	${REINPLACE_CMD} -e 's|curses|ncurses|g' ${WRKSRC}/configure \
+		${WRKSRC}/src/cwcp/Makefile.in
+
 post-install:
 .ifndef XCWCP
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcw.so.${MAJOR_LIB_VER}.${MINOR_LIB_VER}


More information about the svn-ports-all mailing list