aboutsummaryrefslogtreecommitdiff
path: root/games/xonotic
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2010-05-23 12:38:45 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2010-05-23 12:38:45 +0000
commit9a7291de9b29ebd690641bfc1f019819457e83a5 (patch)
treee9aafa424d39db8f64f00725d49c166e28c69b2d /games/xonotic
parent40c905942cfdfc9d8774e79397d224ea5c7f455b (diff)
downloadports-9a7291de9b29ebd690641bfc1f019819457e83a5.tar.gz
ports-9a7291de9b29ebd690641bfc1f019819457e83a5.zip
Notes
Diffstat (limited to 'games/xonotic')
-rw-r--r--games/xonotic/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile
index b94b90e7bedf..7a1a535d6528 100644
--- a/games/xonotic/Makefile
+++ b/games/xonotic/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nexuiz
PORTVERSION= 2.5.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/NexuizRelease/Nexuiz%20${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
@@ -88,6 +88,9 @@ post-patch:
${WRKSRC}/${MAKEFILE} ${WRKSRC}/makefile.inc
@${REINPLACE_CMD} -e '/LDFLAGS_BSDSV/s,$$,-L${LOCALBASE}/lib,' \
${WRKSRC}/makefile.inc
+# Fix for libpng 1.4
+ @${REINPLACE_CMD} -e 's,gray_1_2_4_to_8,expand_&,g' \
+ ${WRKSRC}/image_png.c
do-install:
${SH} -c '${FIND} ${WRKSRC} -name "darkplaces-*[^vpj]" | \