[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>
This commit is contained in:
parent
cdb45f517b
commit
e4550385b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151051
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue