Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 18:49:07 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415131 - head/devel/buildtool
Message-ID:  <201605131849.u4DIn7fR056216@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605131849.u4DIn7fR056216>