aboutsummaryrefslogtreecommitdiff
path: root/net-im/icmpchat
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 11:23:00 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 11:23:00 +0000
commit0c1334d2f25bd4bd8ad625a6e36c25e356d6f9df (patch)
tree4017e1bf559a48dbcf2f2aa3797dc020dd2d9450 /net-im/icmpchat
parent8d26b80983b1261fb7440032a634199f86f7c182 (diff)
downloadports-0c1334d2f25bd4bd8ad625a6e36c25e356d6f9df.tar.gz
ports-0c1334d2f25bd4bd8ad625a6e36c25e356d6f9df.zip
Notes
Diffstat (limited to 'net-im/icmpchat')
-rw-r--r--net-im/icmpchat/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-im/icmpchat/Makefile b/net-im/icmpchat/Makefile
index 3991e006c94d..3b98f291a5ea 100644
--- a/net-im/icmpchat/Makefile
+++ b/net-im/icmpchat/Makefile
@@ -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 *) *|' \