summaryrefslogtreecommitdiffstats
path: root/math/vtk43/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/vtk43/Makefile')
-rw-r--r--math/vtk43/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/vtk43/Makefile b/math/vtk43/Makefile
index 157de5d..ee4c6ca 100644
--- a/math/vtk43/Makefile
+++ b/math/vtk43/Makefile
@@ -39,6 +39,8 @@ post-patch:
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
+ @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
+ 's|malloc.h|stdlib.h|'
post-install:
.if !defined(WITHOUT_PYTHON)
OpenPOWER on IntegriCloud