aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-31 11:55:29 +0800
committerkris <kris@FreeBSD.org>2002-03-31 11:55:29 +0800
commiteb0f18a1af0516452fc403116f98f657d4dd99bb (patch)
treea08f500d906eda9b24a1a792275546521caa989b /biology
parent2109e3d724b41a16acd8d6e9be93d84d254d9110 (diff)
downloadfreebsd-ports-gnome-eb0f18a1af0516452fc403116f98f657d4dd99bb.tar.gz
freebsd-ports-gnome-eb0f18a1af0516452fc403116f98f657d4dd99bb.tar.zst
freebsd-ports-gnome-eb0f18a1af0516452fc403116f98f657d4dd99bb.zip
Remove #include <malloc.h>
Diffstat (limited to 'biology')
-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