aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/quetoo/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/quetoo/Makefile b/games/quetoo/Makefile
index 53b1113bc7db..2bf2b5d03cca 100644
--- a/games/quetoo/Makefile
+++ b/games/quetoo/Makefile
@@ -84,6 +84,9 @@ post-patch: .SILENT
${REINPLACE_CMD} -E 's,^(eval PKGDATADIR=).*$$,\1"${Q2DIR}", ; \
19752s,sdl-config,${SDL_CONFIG}, ; \
s,^(GAME_MODULES=")baseq2",\1",' ${WRKSRC}/configure
+.if ${OSVERSION} < 800501
+ ${REINPLACE_CMD} -e 's,const struct,struct,' ${WRKSRC}/src/files.c
+.endif
${REINPLACE_CMD} -e 's,-ldl,,' ${WRKSRC}/src/Makefile.in
do-install: