aboutsummaryrefslogtreecommitdiff
path: root/games/r1q2
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/r1q2
parentfba82b2a968f007c64e260a48433dc7f9e39a3b8 (diff)
downloadports-ca9c60461cb276ee2afe18260afc8dec97c1b6f8.tar.gz
ports-ca9c60461cb276ee2afe18260afc8dec97c1b6f8.zip
- update to jpeg-8
Notes
Notes: svn path=/head/; revision=249285
Diffstat (limited to 'games/r1q2')
-rw-r--r--games/r1q2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/r1q2/Makefile b/games/r1q2/Makefile
index c1e9c3df0116..5453a4a955bd 100644
--- a/games/r1q2/Makefile
+++ b/games/r1q2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= r1q2
PORTVERSION= 7904
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.r1ch.net/stuff/r1q2/src/
DISTNAME= ${PORTNAME}-b${PORTVERSION}-src
@@ -66,7 +66,7 @@ PLIST_SUB+= GAME="@comment "
.if !defined(WITHOUT_REF_GL)
USE_GL= yes
USE_SDL= sdl
-LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
ALL_TARGET+= ref_gl
PLIST_SUB+= REF_GL=""
@@ -81,6 +81,9 @@ BROKEN= Does not compile on sparc64
post-patch:
@${REINPLACE_CMD} -e 's|game$$(ARCH)|game|g' \
${BUILD_WRKSRC}/game/Makefile
+# Resolve name collision with jpeg-8
+ ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
+ ${WRKSRC}/ref_gl/gl_image.c
pre-build:
@${FIND} ${BUILD_WRKSRC} -type d -depth 1 -exec ${MKDIR} {}/.depends \;