summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 03:55:29 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 03:55:29 +0000
commit556d50ff7692bfb740d4df72386d501d9f653b25 (patch)
tree43b75f3163079f01958004d80f5995506cfc1379
parentRemove #include <malloc.h> (diff)
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57015
-rw-r--r--biology/nab/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/biology/nab/Makefile b/biology/nab/Makefile
index 295a46787784..669b522af9c7 100644
--- a/biology/nab/Makefile
+++ b/biology/nab/Makefile
@@ -27,6 +27,10 @@ INCS= defreal.h nab.h nabcode.h nabtypes.h
post-extract:
@${CP} ${FILESDIR}/config.h ${WRKSRC}
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/cifparse/cifparse.c
+
pre-install:
@cd ${WRKSRC}/src && \
${SETENV} PREFIX=${PREFIX} ${MAKE} beforerealinstall