diff options
-rw-r--r-- | math/libneural/Makefile | 3 |
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> |