svn commit: r415132 - head/devel/cdecl

Baptiste Daroussin bapt at FreeBSD.org
Fri May 13 18:51:44 UTC 2016


Author: bapt
Date: Fri May 13 18:51:42 2016
New Revision: 415132
URL: https://svnweb.freebsd.org/changeset/ports/415132

Log:
  Prevent collision with getline(3)

Modified:
  head/devel/cdecl/Makefile

Modified: head/devel/cdecl/Makefile
==============================================================================
--- head/devel/cdecl/Makefile	Fri May 13 18:49:07 2016	(r415131)
+++ head/devel/cdecl/Makefile	Fri May 13 18:51:42 2016	(r415132)
@@ -21,6 +21,9 @@ PORTDOCS=	testset testset++
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	${REINPLACE_CMD} -e "s/getline/get_line/g" ${WRKSRC}/cdecl.c
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/testset* ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list