diff options
author | pat <pat@FreeBSD.org> | 2002-01-02 12:16:51 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-02 12:16:51 +0800 |
commit | 543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch) | |
tree | 09358f3b37255b97a358ba5c645a6ba3d61f221c /math | |
parent | e14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff) | |
download | freebsd-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')
-rw-r--r-- | math/vtk/Makefile | 2 | ||||
-rw-r--r-- | math/vtk43/Makefile | 2 | ||||
-rw-r--r-- | math/vtk5/Makefile | 2 |
3 files changed, 6 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) 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) |