diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-02-05 19:46:55 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-02-05 19:46:55 +0800 |
commit | 444a47ba39d176ab6be5d165b2147eacd2897112 (patch) | |
tree | 504a172369cfbce84e5c69e3e850ca254982188a /games/kmquake2/Makefile | |
parent | e8713146f4cf4a0ee32660777c7878acf65c44e0 (diff) | |
download | freebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.tar.gz freebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.tar.zst freebsd-ports-gnome-444a47ba39d176ab6be5d165b2147eacd2897112.zip |
- update to jpeg-8
Diffstat (limited to 'games/kmquake2/Makefile')
-rw-r--r-- | games/kmquake2/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/games/kmquake2/Makefile b/games/kmquake2/Makefile index f6ff91a9f934..9a9484b93ebd 100644 --- a/games/kmquake2/Makefile +++ b/games/kmquake2/Makefile @@ -7,7 +7,7 @@ PORTNAME= kmquake2 PORTVERSION= 0.19 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= http://qudos.quakedev.com/linux/quake2/engines/KMQuake2/:src \ http://qexpo2005.quakedev.com/uploaded/54/:data \ @@ -87,7 +87,7 @@ MAKE_ENV+= KMQ2_ADDONS="${KMQ2_ADDONS:S/-1${EXTRACT_SUFX}//}" .endif .if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_SDL) -LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ vorbis.4:${PORTSDIR}/audio/libvorbis USE_OPENAL= al @@ -138,8 +138,11 @@ Q2BIN+= ${PORTNAME}-sdl PLIST_SUB+= SDL="@comment " .endif -.if defined(MOD_REQUESTED) post-patch: +# Resolve name collision with jpeg-8 + ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ + ${WRKSRC}/renderer/r_image.c +.if defined(MOD_REQUESTED) @${FIND} ${WRKDIR}/${KMQ2_ADDONS:S/-1${EXTRACT_SUFX}//} \ -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e \ 's|__linux__|__unix__|; s|#include <bits/nan\.h>||' |