From 543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e Mon Sep 17 00:00:00 2001 From: pat Date: Wed, 2 Jan 2002 04:16:51 +0000 Subject: Fix for -CURRENT, malloc.h->stdlib.h Spotted by: Bento --- math/vtk/Makefile | 2 ++ math/vtk43/Makefile | 2 ++ math/vtk5/Makefile | 2 ++ 3 files changed, 6 insertions(+) (limited to 'math') 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) 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) diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile index 157de5d1f8a0..ee4c6cadef2f 100644 --- a/math/vtk5/Makefile +++ b/math/vtk5/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) -- cgit