summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.0/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-1.0/Makefile')
-rw-r--r--editors/openoffice.org-1.0/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile
index 042769728637..5b17f828f152 100644
--- a/editors/openoffice.org-1.0/Makefile
+++ b/editors/openoffice.org-1.0/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