summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}