aboutsummaryrefslogtreecommitdiff
path: root/games/quetoo/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2010-03-18 00:30:14 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2010-03-18 00:30:14 +0000
commit9cc67b09503d0486bbf7f1488fff87432a064519 (patch)
tree3518fb62cffecf263dd5578cdc9f1439e4996a65 /games/quetoo/Makefile
parent8fc04624ee83bdb10b08592155a80fbf26676b7a (diff)
downloadports-9cc67b09503d0486bbf7f1488fff87432a064519.tar.gz
ports-9cc67b09503d0486bbf7f1488fff87432a064519.zip
Notes
Diffstat (limited to 'games/quetoo/Makefile')
-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: