aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-18 01:21:29 +0800
committerWill Andrews <will@FreeBSD.org>2001-04-18 01:21:29 +0800
commit4a565ff418bfcfba5dca634c00f8faeba2c093a1 (patch)
tree982d5d95dd999e6435e0db5445e0ad0440d2a603 /games
parent0b74212253db9bfd8ef18e22fd812060424228e1 (diff)
downloadfreebsd-ports-gnome-4a565ff418bfcfba5dca634c00f8faeba2c093a1.tar.gz
freebsd-ports-gnome-4a565ff418bfcfba5dca634c00f8faeba2c093a1.tar.zst
freebsd-ports-gnome-4a565ff418bfcfba5dca634c00f8faeba2c093a1.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')
-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}