aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1-devel/Makefile
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-07 01:18:04 +0800
committermbr <mbr@FreeBSD.org>2002-03-07 01:18:04 +0800
commit7f42ee895312d75527384daaadc7903aef5886db (patch)
tree92be9c2ea6c4f8b08784e527f7b0702b5901db7f /editors/openoffice-1.1-devel/Makefile
parent5e4eef0478eb792d9a3d1c3db2f37cff9a4bcb97 (diff)
downloadfreebsd-ports-gnome-7f42ee895312d75527384daaadc7903aef5886db.tar.gz
freebsd-ports-gnome-7f42ee895312d75527384daaadc7903aef5886db.tar.zst
freebsd-ports-gnome-7f42ee895312d75527384daaadc7903aef5886db.zip
*.cxx also needs <malloc.h>|<stdlib.h>
Diffstat (limited to 'editors/openoffice-1.1-devel/Makefile')
-rw-r--r--editors/openoffice-1.1-devel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/Makefile b/editors/openoffice-1.1-devel/Makefile
index 042769728637..5b17f828f152 100644
--- a/editors/openoffice-1.1-devel/Makefile
+++ b/editors/openoffice-1.1-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