aboutsummaryrefslogtreecommitdiff
path: root/math/libneural
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-03-06 22:37:22 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-03-06 22:37:22 +0000
commit81a3a10b407b2a8fd5d34bd0c02c9bc633f4d20e (patch)
treebb94f021e2e4a342d3d42497807c91184987ab92 /math/libneural
parentf98f27680c3de117f68bd029811c2ca53335af1c (diff)
downloadports-81a3a10b407b2a8fd5d34bd0c02c9bc633f4d20e.tar.gz
ports-81a3a10b407b2a8fd5d34bd0c02c9bc633f4d20e.zip
Notes
Diffstat (limited to 'math/libneural')
-rw-r--r--math/libneural/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/libneural/Makefile b/math/libneural/Makefile
index 792f04050763..6bfe93e45ec7 100644
--- a/math/libneural/Makefile
+++ b/math/libneural/Makefile
@@ -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>