aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 12:14:28 +0800
committerkris <kris@FreeBSD.org>2002-03-31 12:14:28 +0800
commit9e7633aebc4230be7d645fc205e8ba1a3de494e6 (patch)
tree54bfc4bb4407bdaf2bc21bebff2f6d1f46c7ec41 /databases
parent0c4ad11f9c87f218dfa4a20cf6429f0bf73808ad (diff)
downloadfreebsd-ports-gnome-9e7633aebc4230be7d645fc205e8ba1a3de494e6.tar.gz
freebsd-ports-gnome-9e7633aebc4230be7d645fc205e8ba1a3de494e6.tar.zst
freebsd-ports-gnome-9e7633aebc4230be7d645fc205e8ba1a3de494e6.zip
Remove #include <malloc.h>
Diffstat (limited to 'databases')
-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