aboutsummaryrefslogtreecommitdiffstats
path: root/games/alephone
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-18 01:21:29 +0800
committerwill <will@FreeBSD.org>2001-04-18 01:21:29 +0800
commit15f315e85fd8c73c6ee03c29186cd2be9695fb4c (patch)
treed364cd91a803a6c582536b223ec1d5344fdc7a2c /games/alephone
parent2c358e2af698f9800bb0a33a9a5b0881dc6bc33c (diff)
downloadfreebsd-ports-gnome-15f315e85fd8c73c6ee03c29186cd2be9695fb4c.tar.gz
freebsd-ports-gnome-15f315e85fd8c73c6ee03c29186cd2be9695fb4c.tar.zst
freebsd-ports-gnome-15f315e85fd8c73c6ee03c29186cd2be9695fb4c.zip
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/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}