Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2016 11:03:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408552 - head/devel/msp430-debug-stack
Message-ID:  <201602091103.u19B36aq084809@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Feb  9 11:03:06 2016
New Revision: 408552
URL: https://svnweb.freebsd.org/changeset/ports/408552

Log:
  - Fix build with boost 1.60
  
  PR:		199601
  Approved by:	portmgr blanket

Modified:
  head/devel/msp430-debug-stack/Makefile

Modified: head/devel/msp430-debug-stack/Makefile
==============================================================================
--- head/devel/msp430-debug-stack/Makefile	Tue Feb  9 10:55:58 2016	(r408551)
+++ head/devel/msp430-debug-stack/Makefile	Tue Feb  9 11:03:06 2016	(r408552)
@@ -31,7 +31,10 @@ MAKE_ARGS+=	BOOST_DIR=${LOCALBASE} \
 
 MAKE_JOBS_UNSAFE=	yes
 
-.include <bsd.port.pre.mk>
+post-patch:
+	@${FIND} ${WRKSRC}/DLL430_v3/src/TI/DLL430 \
+		\( -name '*.cpp' -o -name '*.h' \) -print0 | ${XARGS} -0 \
+		${REINPLACE_CMD} -e 's|[io]fstream|std::&|; s|std::std::|std::|'
 
 do-install:
 	${INSTALL_LIB} ${WRKSRC}/libmsp430.so ${STAGEDIR}${PREFIX}/lib/libmsp430.so
@@ -41,4 +44,4 @@ do-install:
 	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/slau320v.pdf ${STAGEDIR}${DOCSDIR}/
 	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/slau656.pdf ${STAGEDIR}${DOCSDIR}/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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