diff options
-rw-r--r-- | graphics/osg-devel/Makefile | 5 | ||||
-rw-r--r-- | graphics/osg/Makefile | 5 | ||||
-rw-r--r-- | x11-wm/scwm/Makefile | 4 |
3 files changed, 14 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 \ 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 \ diff --git a/x11-wm/scwm/Makefile b/x11-wm/scwm/Makefile index 104ae9e1df02..96592c02deb3 100644 --- a/x11-wm/scwm/Makefile +++ b/x11-wm/scwm/Makefile @@ -33,6 +33,10 @@ CONFIGURE_ENV+= LIBS="-L${X11BASE}/lib -lxpg4" MAN1= scwm.1 scwmexec.1 scwmrepl.1 +pre-patch: + @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \ + ${WRKSRC}/utilities/libscwmexec/libmain.c + post-install: ${RM} -rf ${PREFIX}/share/scwm/ViaVoice |