summaryrefslogtreecommitdiff
path: root/math/vtk43
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
commitb50c44981d13d21fa7acbcd57908a0fbd663b054 (patch)
treeed1663d82eb627c5d6bbdbfa52f7eb978d7e3cfa /math/vtk43
parent- PORTVERSION 0.4.3 => 0.4.4. (diff)
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Notes
Notes: svn path=/head/; revision=52482
Diffstat (limited to 'math/vtk43')
-rw-r--r--math/vtk43/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/vtk43/Makefile b/math/vtk43/Makefile
index 157de5d1f8a0..ee4c6cadef2f 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)