Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 00:03:18 +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: r408336 - head/comms/unixcw
Message-ID:  <201602070003.u1703Ia4035399@repo.freebsd.org>

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



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