aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake3
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-12-13 05:07:11 +0800
committeredwin <edwin@FreeBSD.org>2005-12-13 05:07:11 +0800
commit482c6ba819017dcade84c8027b66f7def89a5fa7 (patch)
treec6c1f33a0bd90e0038352e81af2e605d9e6db938 /games/quake3
parent648792b7e06241008474f030d74e884d6808fc88 (diff)
downloadfreebsd-ports-gnome-482c6ba819017dcade84c8027b66f7def89a5fa7.tar.gz
freebsd-ports-gnome-482c6ba819017dcade84c8027b66f7def89a5fa7.tar.zst
freebsd-ports-gnome-482c6ba819017dcade84c8027b66f7def89a5fa7.zip
[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 <amdmi3@mail.ru>
Diffstat (limited to 'games/quake3')
-rw-r--r--games/quake3/Makefile1
1 files changed, 1 insertions, 0 deletions
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