summaryrefslogtreecommitdiff
path: root/games/alephone
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-17 17:21:29 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-17 17:21:29 +0000
commit4a565ff418bfcfba5dca634c00f8faeba2c093a1 (patch)
tree982d5d95dd999e6435e0db5445e0ad0440d2a603 /games/alephone
parentUpdate to scanssh 1.55 (diff)
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
Notes
Notes: svn path=/head/; revision=41577
Diffstat (limited to 'games/alephone')
-rw-r--r--games/alephone/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index 2c388b96c88a..36334ad9a509 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}