svn commit: r347331 - head/math/libneural

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Mar 6 22:37:23 UTC 2014


Author: amdmi3
Date: Thu Mar  6 22:37:22 2014
New Revision: 347331
URL: http://svnweb.freebsd.org/changeset/ports/347331
QAT: https://qat.redports.org/buildarchive/r347331/

Log:
  - Fix build on 10.x

Modified:
  head/math/libneural/Makefile

Modified: head/math/libneural/Makefile
==============================================================================
--- head/math/libneural/Makefile	Thu Mar  6 22:29:15 2014	(r347330)
+++ head/math/libneural/Makefile	Thu Mar  6 22:37:22 2014	(r347331)
@@ -17,5 +17,8 @@ USE_LDCONFIG=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
 		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|iostream.h|iostream|; s|fstream.h|fstream|; s|iomanip.h|iomanip|; \
+		s|endl|std::&|g; s|cerr|std::&|g; s|cout|std::&|g; s|cin|std::&|g; s|[oi]fstream |std::&|g' \
+		${WRKSRC}/lib/neuron.cc ${WRKSRC}/lib/nnwork.cc ${WRKSRC}/examples/*.cc
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list