svn commit: r318075 - in head/games/quake2max: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Mon May 13 12:51:33 UTC 2013
Author: danfe
Date: Mon May 13 12:51:32 2013
New Revision: 318075
URL: http://svnweb.freebsd.org/changeset/ports/318075
Log:
- Provide working mirror in MASTER_SITES
- Mute additional extraction and patching commands output (as we always do)
- Fix nasty crash due to `-funroll-loops' being passed to the compiler
Modified:
head/games/quake2max/Makefile
head/games/quake2max/files/patch-Makefile
Modified: head/games/quake2max/Makefile
==============================================================================
--- head/games/quake2max/Makefile Mon May 13 12:38:41 2013 (r318074)
+++ head/games/quake2max/Makefile Mon May 13 12:51:32 2013 (r318075)
@@ -3,9 +3,9 @@
PORTNAME= quake2max
PORTVERSION= 0.45
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
-MASTER_SITES= http://qudos.quakedev.com/linux/quake2/engines/Quake2MaX/:src \
+MASTER_SITES= http://www.bfeared.com/library/quake/archive/quakedev/qudos/quake2/engines/Quake2MaX/:src \
${MASTER_SITE_LOCAL:S/$/:data/}
MASTER_SITE_SUBDIR= alepulver/:data
DISTNAME= Quake2maX_${PORTVERSION}-src_unix
@@ -106,11 +106,12 @@ PLIST_SUB+= SDLGL="@comment "
.endif
post-extract:
- @cd ${WRKSRC} && unrar e ${DISTDIR}/${Q2MAX_DATA} baseq2/_maxpak.pak
+ @cd ${WRKSRC} && unrar e -idq ${DISTDIR}/${Q2MAX_DATA} \
+ baseq2/_maxpak.pak
post-patch:
# Resolve name collision with jpeg-8
- ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
+ @${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \
${WRKSRC}/ref_gl/gl_image.c
do-install:
Modified: head/games/quake2max/files/patch-Makefile
==============================================================================
--- head/games/quake2max/files/patch-Makefile Mon May 13 12:38:41 2013 (r318074)
+++ head/games/quake2max/files/patch-Makefile Mon May 13 12:51:32 2013 (r318075)
@@ -36,7 +36,7 @@
-ifeq ($(ARCH),i386)
- RELEASE_CFLAGS+=-falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing
+ifeq ($(WITH_OPTIMIZED_CFLAGS),YES)
-+ RELEASE_CFLAGS+=-O2 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations
++ RELEASE_CFLAGS+=-O2 -ffast-math -fomit-frame-pointer -fexpensive-optimizations
+ ifeq ($(ARCH),i386)
+ RELEASE_CFLAGS+=-falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing
+ endif
More information about the svn-ports-head
mailing list