summaryrefslogtreecommitdiff
path: root/editors/openoffice-devel/Makefile
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-06 17:18:04 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-06 17:18:04 +0000
commit6b4a3cb361d11b5ac21fa74f7e0e5d0dd62d6689 (patch)
tree32aed1aa96b38ae05a49a7385f4cc7b0189e72bc /editors/openoffice-devel/Makefile
parentadd decompyle 2.2.b1 (diff)
*.cxx also needs <malloc.h>|<stdlib.h>
Notes
Notes: svn path=/head/; revision=55648
Diffstat (limited to 'editors/openoffice-devel/Makefile')
-rw-r--r--editors/openoffice-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile
index 042769728637..5b17f828f152 100644
--- a/editors/openoffice-devel/Makefile
+++ b/editors/openoffice-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