Date: Fri, 5 Feb 2016 11:23:01 +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: r408162 - head/net-im/icmpchat Message-ID: <201602051123.u15BN1Hq079888@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Fri Feb 5 11:23:00 2016 New Revision: 408162 URL: https://svnweb.freebsd.org/changeset/ports/408162 Log: net-im/icmpchat: USES+= ncurses, respect LDFLAGS Also link with libncurses, not libcurses Modified: head/net-im/icmpchat/Makefile Modified: head/net-im/icmpchat/Makefile ============================================================================== --- head/net-im/icmpchat/Makefile Fri Feb 5 11:20:53 2016 (r408161) +++ head/net-im/icmpchat/Makefile Fri Feb 5 11:23:00 2016 (r408162) @@ -9,11 +9,13 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Simple console-based chat that uses ICMP protocol +USES= ncurses OPTIONS_DEFINE= DOCS pre-patch: - ${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${CFLAGS}|;\ - s|= gcc|?= gcc|;s|default|all|' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|-O2 -Wall -pedantic|${CFLAGS}|' \ + -e 's|-lcurses|${LDFLAGS} -lncurses|g' \ + -e' s|= gcc|?= gcc|;s|default|all|' ${WRKSRC}/Makefile # Fix for GCC 4.2 ${REINPLACE_CMD} -e \ 's|((uint8_t \*) data) +=|data += sizeof(uint8_t *) *|' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602051123.u15BN1Hq079888>