summaryrefslogtreecommitdiff
path: root/games/doom
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-01-26 08:00:58 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-01-26 08:00:58 +0000
commit3c0d9cc39140308aa1c99d3799ed9bd947e7c75f (patch)
treefcb37877fc837546fb61f591f9f67ef94ad16570 /games/doom
parentFix build on -current (diff)
Fix build on -current
Notes
Notes: svn path=/head/; revision=53767
Diffstat (limited to 'games/doom')
-rw-r--r--games/doom/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/doom/Makefile b/games/doom/Makefile
index 46221adc6fef..6137f0b5e226 100644
--- a/games/doom/Makefile
+++ b/games/doom/Makefile
@@ -38,6 +38,9 @@ do-fetch:
post-extract:
@cd ${WRKDIR} && tar xzf linuxdoom-1.10.src.tgz && tar xzf sndserv.tgz
+post-patch:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
+
do-build:
@cd ${WRKDIR}/linuxdoom-1.10 && ${GMAKE}
@cd ${WRKDIR}/sndserv && ${GMAKE}