diff options
author | mbr <mbr@FreeBSD.org> | 2002-03-07 01:18:04 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-03-07 01:18:04 +0800 |
commit | 7f42ee895312d75527384daaadc7903aef5886db (patch) | |
tree | 92be9c2ea6c4f8b08784e527f7b0702b5901db7f /editors/openoffice-2.0-devel | |
parent | 5e4eef0478eb792d9a3d1c3db2f37cff9a4bcb97 (diff) | |
download | freebsd-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-2.0-devel')
-rw-r--r-- | editors/openoffice-2.0-devel/Makefile | 2 |
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 |