diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-02-05 11:46:55 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-02-05 11:46:55 +0000 |
commit | ca9c60461cb276ee2afe18260afc8dec97c1b6f8 (patch) | |
tree | 723ef4dd1e7ab15998168c724ba862742907ca7a /games/q2pro | |
parent | fba82b2a968f007c64e260a48433dc7f9e39a3b8 (diff) | |
download | ports-ca9c60461cb276ee2afe18260afc8dec97c1b6f8.tar.gz ports-ca9c60461cb276ee2afe18260afc8dec97c1b6f8.zip |
Notes
Diffstat (limited to 'games/q2pro')
-rw-r--r-- | games/q2pro/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games/q2pro/Makefile b/games/q2pro/Makefile index 4baf077d9e7f..6522af5536cc 100644 --- a/games/q2pro/Makefile +++ b/games/q2pro/Makefile @@ -7,7 +7,7 @@ PORTNAME= q2pro PORTVERSION= ${SVN_REV} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= alepulver @@ -67,7 +67,7 @@ PLIST_SUB+= GAME="@comment " .if !defined(WITHOUT_GL) USE_GL= yes -LIB_DEPENDS+= jpeg.10:${PORTSDIR}/graphics/jpeg \ +LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png ALL_TARGET+= ref_newgl PLIST_SUB+= GL="" @@ -93,6 +93,11 @@ PLIST_SUB+= UI="@comment " MAKE_ENV+= USE_X86_ASM=yes .endif +post-patch: +# Resolve name collision with jpeg-8 + ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ + ${WRKSRC}/ref_shared/r_images.c + do-install: ${MKDIR} ${LIBDIR}/baseq2 .if !defined(WITHOUT_CLIENT) |