summaryrefslogtreecommitdiff
path: root/graphics/vertex
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
commitb50c44981d13d21fa7acbcd57908a0fbd663b054 (patch)
treeed1663d82eb627c5d6bbdbfa52f7eb978d7e3cfa /graphics/vertex
parent- PORTVERSION 0.4.3 => 0.4.4. (diff)
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Notes
Notes: svn path=/head/; revision=52482
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>