aboutsummaryrefslogtreecommitdiffstats
path: root/games/ezquake
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-02-05 19:46:55 +0800
committerdinoex <dinoex@FreeBSD.org>2010-02-05 19:46:55 +0800
commit444a47ba39d176ab6be5d165b2147eacd2897112 (patch)
tree504a172369cfbce84e5c69e3e850ca254982188a /games/ezquake
parente8713146f4cf4a0ee32660777c7878acf65c44e0 (diff)
downloadfreebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.tar.gz
freebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.tar.zst
freebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.zip
- update to jpeg-8
Diffstat (limited to 'games/ezquake')
-rw-r--r--games/ezquake/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/ezquake/Makefile b/games/ezquake/Makefile
index d8551ce10b54..2b606477d428 100644
--- a/games/ezquake/Makefile
+++ b/games/ezquake/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ezquake
PORTVERSION= 1.9
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/A%29%20Official%20releases/ezQuake%20${PORTVERSION}:ezquake \
@@ -48,7 +48,7 @@ IGNORE= needs at least one interface (GLX or X11)
.endif
.if !defined(WITHOUT_GLX)
-LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg
USE_GL= yes
ALL_TARGET+= glx
PLIST_SUB+= GLX=""
@@ -81,6 +81,9 @@ do-extract:
post-patch:
@${REINPLACE_CMD} -e 's|libtcl\.so|libtcl${TCL_VER:S/.//}|' \
${WRKSRC}/embed_tcl.h
+# Resolve name collision with jpeg-8
+ ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
+ ${WRKSRC}/image.c
do-install:
.for dir in ezquake qw