summaryrefslogtreecommitdiffstats
path: root/games/doom/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-01-26 08:00:58 +0000
committerkris <kris@FreeBSD.org>2002-01-26 08:00:58 +0000
commit681d649cd50c514387d174f25b489d5744729add (patch)
tree53831b551a5085ce45c357ac157258c96bc4d41e /games/doom/Makefile
parent76c9c6a7d73825c0ccea14c1e6554634e186e5a7 (diff)
downloadFreeBSD-ports-681d649cd50c514387d174f25b489d5744729add.zip
FreeBSD-ports-681d649cd50c514387d174f25b489d5744729add.tar.gz
Fix build on -current
Diffstat (limited to 'games/doom/Makefile')
-rw-r--r--games/doom/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/doom/Makefile b/games/doom/Makefile
index 46221ad..6137f0b 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}
OpenPOWER on IntegriCloud