aboutsummaryrefslogtreecommitdiffstats
path: root/math/vtk/Makefile
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
committerpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
commit543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch)
tree09358f3b37255b97a358ba5c645a6ba3d61f221c /math/vtk/Makefile
parente14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff)
downloadfreebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.gz
freebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.zst
freebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.zip
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'math/vtk/Makefile')
-rw-r--r--math/vtk/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/vtk/Makefile b/math/vtk/Makefile
index 157de5d1f8a0..ee4c6cadef2f 100644
--- a/math/vtk/Makefile
+++ b/math/vtk/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)