aboutsummaryrefslogtreecommitdiff
path: root/games/sdlquake2
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-02-05 11:46:55 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-02-05 11:46:55 +0000
commitca9c60461cb276ee2afe18260afc8dec97c1b6f8 (patch)
tree723ef4dd1e7ab15998168c724ba862742907ca7a /games/sdlquake2
parentfba82b2a968f007c64e260a48433dc7f9e39a3b8 (diff)
downloadports-ca9c60461cb276ee2afe18260afc8dec97c1b6f8.tar.gz
ports-ca9c60461cb276ee2afe18260afc8dec97c1b6f8.zip
Notes
Diffstat (limited to 'games/sdlquake2')
-rw-r--r--games/sdlquake2/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/sdlquake2/Makefile b/games/sdlquake2/Makefile
index c05056f90dc9..6f2e0c141561 100644
--- a/games/sdlquake2/Makefile
+++ b/games/sdlquake2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sdlquake2
PORTVERSION= 0.1.4
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://koti.mbnet.fi/~turol/sdlquake2/
@@ -32,7 +32,7 @@ PLIST_SUB= LIBDIR=${LIBDIR:S/${PREFIX}\///}
.include <bsd.port.pre.mk>
.if defined(WITH_CLIENT)
-LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
USE_GL= yes
USE_SDL= sdl
@@ -56,6 +56,11 @@ PLIST_SUB+= GAME=""
PLIST_SUB+= GAME="@comment "
.endif
+post-patch:
+# Resolve name collision with jpeg-8
+ ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
+ ${WRKSRC}/gl_image.c
+
do-install:
${MKDIR} ${LIBDIR}/baseq2
.if defined(WITH_CLIENT)