aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-11-19 18:42:31 +0800
committerdinoex <dinoex@FreeBSD.org>2016-11-19 18:42:31 +0800
commit5dcf05631323b128845158de558bba462f464892 (patch)
treee0cab1d836416ee269ee91dcce624ad3dcc0841c /news
parent94f0e224846ae05a502a60d81511d395111f2db9 (diff)
downloadfreebsd-ports-gnome-5dcf05631323b128845158de558bba462f464892.tar.gz
freebsd-ports-gnome-5dcf05631323b128845158de558bba462f464892.tar.zst
freebsd-ports-gnome-5dcf05631323b128845158de558bba462f464892.zip
- fix build on FreeBSD-12
Diffstat (limited to 'news')
-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=" \