svn commit: r426355 - head/news/nntp
Dirk Meyer
dinoex at FreeBSD.org
Sat Nov 19 10:42:32 UTC 2016
Author: dinoex
Date: Sat Nov 19 10:42:31 2016
New Revision: 426355
URL: https://svnweb.freebsd.org/changeset/ports/426355
Log:
- fix build on FreeBSD-12
Modified:
head/news/nntp/Makefile
Modified: head/news/nntp/Makefile
==============================================================================
--- head/news/nntp/Makefile Sat Nov 19 09:00:20 2016 (r426354)
+++ head/news/nntp/Makefile Sat Nov 19 10:42:31 2016 (r426355)
@@ -49,6 +49,12 @@ ALONE= -e 's|\#define.ALONE|\#undef ALON
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=" \
More information about the svn-ports-all
mailing list