From e4550385b3689a3aa43d86171a86b6719fee9d59 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 12 Dec 2005 21:07:11 +0000 Subject: [PATCH] games/quake3: prevent quake from creating botlib.log in the current dir quake3 creates botlib.log in the current directory. Such action is annoying and should be prevented. PR: ports/90263 Submitted by: Dmitry Marakasov --- games/q3cellshading/Makefile | 1 + games/quake3/Makefile | 1 + 2 files changed, 2 insertions(+) (limited to 'games') diff --git a/games/q3cellshading/Makefile b/games/q3cellshading/Makefile index 24b9abdefe07..8fa5ce2be241 100644 --- a/games/q3cellshading/Makefile +++ b/games/q3cellshading/Makefile @@ -45,6 +45,7 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5- post-patch: @${REINPLACE_CMD} -e 's|%%Q3DIR%%|"${Q3DIR}"|' \ ${WRKSRC}/code/unix/unix_shared.c + @${REINPLACE_CMD} -e 's|botlib.log|/dev/null|' ${WRKSRC}/code/botlib/be_interface.c pre-build: ${MKDIR} ${WRKSRC}/lcc/build diff --git a/games/quake3/Makefile b/games/quake3/Makefile index 24b9abdefe07..8fa5ce2be241 100644 --- a/games/quake3/Makefile +++ b/games/quake3/Makefile @@ -45,6 +45,7 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5- post-patch: @${REINPLACE_CMD} -e 's|%%Q3DIR%%|"${Q3DIR}"|' \ ${WRKSRC}/code/unix/unix_shared.c + @${REINPLACE_CMD} -e 's|botlib.log|/dev/null|' ${WRKSRC}/code/botlib/be_interface.c pre-build: ${MKDIR} ${WRKSRC}/lcc/build -- cgit v1.2.3