diff options
author | kris <kris@FreeBSD.org> | 2002-01-26 08:00:58 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-01-26 08:00:58 +0000 |
commit | 681d649cd50c514387d174f25b489d5744729add (patch) | |
tree | 53831b551a5085ce45c357ac157258c96bc4d41e /games/doom/Makefile | |
parent | 76c9c6a7d73825c0ccea14c1e6554634e186e5a7 (diff) | |
download | FreeBSD-ports-681d649cd50c514387d174f25b489d5744729add.zip FreeBSD-ports-681d649cd50c514387d174f25b489d5744729add.tar.gz |
Fix build on -current
Diffstat (limited to 'games/doom/Makefile')
-rw-r--r-- | games/doom/Makefile | 3 |
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} |