summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-17 17:21:29 +0000
committerwill <will@FreeBSD.org>2001-04-17 17:21:29 +0000
commit15f315e85fd8c73c6ee03c29186cd2be9695fb4c (patch)
treed364cd91a803a6c582536b223ec1d5344fdc7a2c /games
parent2c358e2af698f9800bb0a33a9a5b0881dc6bc33c (diff)
downloadFreeBSD-ports-15f315e85fd8c73c6ee03c29186cd2be9695fb4c.zip
FreeBSD-ports-15f315e85fd8c73c6ee03c29186cd2be9695fb4c.tar.gz
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
Diffstat (limited to 'games')
-rw-r--r--games/alephone/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index 2c388b9..36334ad 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -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}
OpenPOWER on IntegriCloud