aboutsummaryrefslogtreecommitdiff
path: root/graphics/osg
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
parent556d50ff7692bfb740d4df72386d501d9f653b25 (diff)
downloadports-c9bf08a239e92f01231a8b1e9474e778454549ec.tar.gz
ports-c9bf08a239e92f01231a8b1e9474e778454549ec.zip
Notes
Diffstat (limited to 'graphics/osg')
-rw-r--r--graphics/osg/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index d2a52dce24ac..bc35a579b9d8 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/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 \