aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-06-11 00:23:24 +0800
committerlioux <lioux@FreeBSD.org>2003-06-11 00:23:24 +0800
commit06d2b60f1a0440241a3ba946a8095b60cbbc7e50 (patch)
treecdb1c42bb79aa9b174e82a890e05cc607639164c
parent8abcfb3c765c6f316b1fb5ec82739fe8c49c7a70 (diff)
downloadfreebsd-ports-gnome-06d2b60f1a0440241a3ba946a8095b60cbbc7e50.tar.gz
freebsd-ports-gnome-06d2b60f1a0440241a3ba946a8095b60cbbc7e50.tar.zst
freebsd-ports-gnome-06d2b60f1a0440241a3ba946a8095b60cbbc7e50.zip
Fix build in 5.x branch: malloc.h -> stdlib.h
Submitted by: bento, kris
-rw-r--r--graphics/animabob/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/animabob/Makefile b/graphics/animabob/Makefile
index da3b44f23c76..4de002f75f52 100644
--- a/graphics/animabob/Makefile
+++ b/graphics/animabob/Makefile
@@ -22,6 +22,12 @@ ALL_TARGET= build
MAN1= animabob.1 icol.1
MANCOMPRESSED= yes
+post-patch:
+ @${FIND} ${WRKSRC} -type f | \
+ ${XARGS} -x -n 10 \
+ ${REINPLACE_CMD} -E \
+ -e 's|malloc.h|stdlib.h|'
+
post-build:
# make the doc installation PREFIX safe
@${REINPLACE_CMD} -E \