- fix build on FreeBSD-12

This commit is contained in:
Dirk Meyer 2016-11-19 10:42:31 +00:00
parent 7dac2ac5a1
commit d204a290b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426355

View file

@ -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=" \