summaryrefslogtreecommitdiff
path: root/graphics/osg-devel
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 04:08:43 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 04:08:43 +0000
commitc9bf08a239e92f01231a8b1e9474e778454549ec (patch)
treebec47c514c9c5a3278cf26803b0d25805ae43660 /graphics/osg-devel
parentRemove #include <malloc.h> (diff)
Remove #include <malloc.h>
Diffstat (limited to 'graphics/osg-devel')
-rw-r--r--graphics/osg-devel/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/osg-devel/Makefile b/graphics/osg-devel/Makefile
index d2a52dce24ac..bc35a579b9d8 100644
--- a/graphics/osg-devel/Makefile
+++ b/graphics/osg-devel/Makefile
@@ -28,6 +28,11 @@ MAKE_ENV= CXX="${CXX}" \
ALL_TARGET= freebsd
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/src/osgPlugins/flt/Input.cpp \
+ ${WRKSRC}/src/osgPlugins/flt/Record.cpp
+
post-patch:
.for suf in defs rules
@${LN} -sf ${WRKSRC}/Make/make${suf}.linux \