- Add pkg-message about how to fix SDL sound problem.

This commit is contained in:
Alejandro Pulver 2006-06-11 22:56:08 +00:00
parent 3a55cc0d55
commit d29eed5a03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165153
2 changed files with 11 additions and 3 deletions

View file

@ -155,10 +155,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/tremulous.xpm ${PREFIX}/share/pixmaps
post-install:
.if defined(WITH_SDL_AUDIO) || defined(WITH_OPENAL)
@${ECHO_CMD}
@${ECHO_CMD} "WARNING: if you have sound problems try recompiling without SDL_AUDIO and OPENAL options." | ${FMT}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,10 @@
==============================================================================
If you have sound problems with SDL try setting the variable "s_sdlSpeed" to
"44100". It will be saved to the configuration file.
If you have sound problems with OpenAL recompile without it. Also the OPENAL
option causes the program to omit restoring gamma and mouse sensivity after
exitting.
==============================================================================