From owner-svn-ports-head@FreeBSD.ORG Mon May 13 12:51:33 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 72D96473; Mon, 13 May 2013 12:51:33 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC99FCF; Mon, 13 May 2013 12:51:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4DCpX5M013320; Mon, 13 May 2013 12:51:33 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4DCpWZp013318; Mon, 13 May 2013 12:51:32 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201305131251.r4DCpWZp013318@svn.freebsd.org> From: Alexey Dokuchaev Date: Mon, 13 May 2013 12:51:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318075 - in head/games/quake2max: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 May 2013 12:51:33 -0000 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