summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 04:14:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 04:14:28 +0000
commitc2c6903c657f282e0181070575b2821d5ab3d185 (patch)
tree461d719d192d0f67ebdfc3213392fbe2d37b0279
parentRemove #include <malloc.h> (diff)
Remove #include <malloc.h>
Notes
Notes: svn path=/head/; revision=57017
-rw-r--r--databases/typhoon/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/typhoon/Makefile b/databases/typhoon/Makefile
index 3019ef0ed189..5ccf9f205470 100644
--- a/databases/typhoon/Makefile
+++ b/databases/typhoon/Makefile
@@ -24,6 +24,10 @@ MAN3= d_close.3 d_crget.3 d_crread.3 d_crset.3 d_dbdpath.3 d_dbfpath.3 \
d_keyread.3 d_open.3 d_recfrst.3 d_reclast.3 d_recnext.3 d_recprev.3 \
d_recread.3 d_recwrite.3 d_setfiles.3
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/util/dbdview.c
+
post-install:
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man1