summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 02:55:13 +0000
committerkris <kris@FreeBSD.org>2002-03-31 02:55:13 +0000
commitefa8f77c3aebe3beb87249d8d3c9b8bae7f383ed (patch)
tree1c8eaa51c6a9db93ee31bc50a4014eb842392d23
parentd3a32be07db3d0a8a44aba2e814799b9f6a6be47 (diff)
downloadFreeBSD-ports-efa8f77c3aebe3beb87249d8d3c9b8bae7f383ed.zip
FreeBSD-ports-efa8f77c3aebe3beb87249d8d3c9b8bae7f383ed.tar.gz
Remove #include <malloc.h>. Build still fails (bison failure).
-rw-r--r--devel/ilu/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/ilu/Makefile b/devel/ilu/Makefile
index c8e89f8..8e0a268 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}
OpenPOWER on IntegriCloud