summaryrefslogtreecommitdiff
path: root/games/gracer/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-03-31 03:17:57 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-03-31 03:17:57 +0000
commitde772a83738b3405737270bf01f8a3c6b6c9ab9d (patch)
treeacb4e6bb8485266db657a0e9c484f3d2671a7555 /games/gracer/Makefile
parentRemove #include <malloc.h> (diff)
Remove #include <malloc.h>. Port build still broken.
Notes
Notes: svn path=/head/; revision=57009
Diffstat (limited to '')
-rw-r--r--games/gracer/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/gracer/Makefile b/games/gracer/Makefile
index bec53b2b82d9..024a11c84d98 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -30,4 +30,8 @@ USE_GMAKE= yes
USE_NEWGCC= yes
CONFIGURE_ARGS+= --with-plib=${X11BASE}
+pre-patch:
+ @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
+ ${WRKSRC}/common/gr_memory.h
+
.include <bsd.port.mk>