1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Solve build problem on bento with temporary hack. For some reason, the

SDL_VERSION variable used in screen_sdl.cpp is 6 when it should not be.  I
think the culprit is sdl-devel-1.2._0_, which is just faulty logic.  Anyhow,
this is the quick-fix to get the binaries for AlephOne on the 4.3R CDs.

A better solution should be looked into by the maintainer and others.

Found by:	bento
This commit is contained in:
Will Andrews 2001-04-17 17:21:29 +00:00
parent 0b74212253
commit 4a565ff418
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41577

View File

@ -23,6 +23,9 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
pre-configure:
${PERL} -pi -e "s@uint8 red@Uint16 red@g" ${WRKSRC}/Source_Files/Misc/screen_sdl.cpp
post-install:
.if !defined(NOPORTDOCS)
@${CAT} ${PKGMESSAGE}