1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

comms/unixcw: document ncurses requirement (USES+=ncurses)

link with ncurses, not curses

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-07 00:03:17 +00:00
parent d2df64e90b
commit 6891b98d03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408336

View File

@ -24,7 +24,7 @@ CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \
--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}