aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vertex
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
committerpat <pat@FreeBSD.org>2002-01-02 12:16:51 +0800
commit543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch)
tree09358f3b37255b97a358ba5c645a6ba3d61f221c /graphics/vertex
parente14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff)
downloadfreebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.gz
freebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.zst
freebsd-ports-gnome-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.zip
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'graphics/vertex')
-rw-r--r--graphics/vertex/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/vertex/Makefile b/graphics/vertex/Makefile
index b13febcee2a5..e7ae1f30ebbb 100644
--- a/graphics/vertex/Makefile
+++ b/graphics/vertex/Makefile
@@ -30,4 +30,8 @@ INSTALL_TARGET= vertex_install
MAN1= ${PORTNAME}.1
+pre-patch:
+ @${FIND} ${WRKSRC} -name "*.[c,h]" | ${XARGS} ${PERL} -pi -e \
+ 's|malloc.h|stdlib.h|'
+
.include <bsd.port.mk>