summaryrefslogtreecommitdiff
path: root/devel/ilu
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 02:55:13 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 02:55:13 +0000
commitafd252143d18ad46f3115049819bec6da02f289b (patch)
tree448b9a96cfe247307f08acee4aaac40511649f61 /devel/ilu
parentRemove #include <malloc.h> (diff)
Remove #include <malloc.h>. Build still fails (bison failure).
Diffstat (limited to 'devel/ilu')
-rw-r--r--devel/ilu/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/ilu/Makefile b/devel/ilu/Makefile
index c8e89f897377..8e0a26848dc8 100644
--- a/devel/ilu/Makefile
+++ b/devel/ilu/Makefile
@@ -56,6 +56,16 @@ CONFIGURE_ARGS+= --disable-java-support
startup_dir= ${PREFIX}/etc/rc.d
startup_script= ${startup_dir}/50.ilu.sh
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/stubbers/parser/ilu.bison \
+ ${WRKSRC}/stubbers/parser/genregs.c \
+ ${WRKSRC}/stubbers/parser/iluparse.c.dist \
+ ${WRKSRC}/stubbers/c/cstubber.h \
+ ${WRKSRC}/stubbers/idl/idlparser.y \
+ ${WRKSRC}/stubbers/idl/bison.skel \
+ ${WRKSRC}/stubbers/idl/idlparser.c.dist
+
post-extract:
${CHMOD} -R u+w ${WRKDIR}