svn commit: r415131 - head/devel/buildtool

Baptiste Daroussin bapt at FreeBSD.org
Fri May 13 18:49:08 UTC 2016


Author: bapt
Date: Fri May 13 18:49:07 2016
New Revision: 415131
URL: https://svnweb.freebsd.org/changeset/ports/415131

Log:
  Prevent collision with dprintf(3)

Modified:
  head/devel/buildtool/Makefile

Modified: head/devel/buildtool/Makefile
==============================================================================
--- head/devel/buildtool/Makefile	Fri May 13 18:45:43 2016	(r415130)
+++ head/devel/buildtool/Makefile	Fri May 13 18:49:07 2016	(r415131)
@@ -14,4 +14,9 @@ CONFIGURE_ARGS=	-p ${PREFIX} -d ${DOCSDI
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	${REINPLACE_CMD} -e "s/dprintf/debug_printf/g" \
+		${WRKSRC}/bt_sh/output.h ${WRKSRC}/bt_sh/input.c \
+		${WRKSRC}/bt_sh/input.c ${WRKSRC}/bt_sh/output.c
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list