aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-2.0-devel
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-2.0-devel')
-rw-r--r--editors/openoffice-2.0-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/openoffice-2.0-devel/Makefile b/editors/openoffice-2.0-devel/Makefile
index 042769728637..5b17f828f152 100644
--- a/editors/openoffice-2.0-devel/Makefile
+++ b/editors/openoffice-2.0-devel/Makefile
@@ -81,6 +81,8 @@ post-extract:
${CP} ${WRKDIR}/NETBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/FREEBSDGCCIinc.zip
${CP} ${WRKDIR}/NETBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/FREEBSDGCCIlib.zip
${CP} ${WRKDIR}/NETBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/FREEBSDGCCIruntime.zip
+ @${FIND} ${WRKSRC}/.. | ${EGREP} ".(cxx|h|c)$" | ${XARGS} \
+ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
do-build:
@cd ${WRKSRC}/.. && PATH="${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin" ./bootstrap