aboutsummaryrefslogtreecommitdiff
path: root/news/nntp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2016-11-19 10:42:31 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2016-11-19 10:42:31 +0000
commitd204a290b2b7eeeedb51974462e51d2f39122154 (patch)
treee0cab1d836416ee269ee91dcce624ad3dcc0841c /news/nntp
parent7dac2ac5a19be777089c98b4e2ae5aac8cb3fa9d (diff)
downloadports-d204a290b2b7eeeedb51974462e51d2f39122154.tar.gz
ports-d204a290b2b7eeeedb51974462e51d2f39122154.zip
Notes
Diffstat (limited to 'news/nntp')
-rw-r--r--news/nntp/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile
index 72ad4cc3ec6b..65f2e8a6b03c 100644
--- a/news/nntp/Makefile
+++ b/news/nntp/Makefile
@@ -49,6 +49,12 @@ ALONE= -e 's|\#define.ALONE|\#undef ALONE|'
post-extract:
${CP} ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h
+
+post-patch:
+ ${REINPLACE_CMD} \
+ -e 's=getline(=xmit_getline(=' \
+ ${WRKSRC}/xmit/nntpxmit.c
+
pre-configure:
${REINPLACE_CMD} ${ALONE} \
-e "s=/usr/local/news/lib/bin/config=${NEWSBIN}/config=" \