From owner-svn-ports-all@FreeBSD.ORG Thu Sep 5 13:08:31 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 42C921E4; Thu, 5 Sep 2013 13:08:31 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2FD6E2CE5; Thu, 5 Sep 2013 13:08:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r85D8Vc3022694; Thu, 5 Sep 2013 13:08:31 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r85D8UM6022688; Thu, 5 Sep 2013 13:08:30 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201309051308.r85D8UM6022688@svn.freebsd.org> From: Guido Falsi Date: Thu, 5 Sep 2013 13:08:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326393 - in head/games/0ad: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 13:08:31 -0000 Author: madpilot Date: Thu Sep 5 13:08:30 2013 New Revision: 326393 URL: http://svnweb.freebsd.org/changeset/ports/326393 Log: - Update to 0.0.14 (Alpha 14 "Naukratis") - Add explicit dependency on pkgconf - Convert to USES=gmake Deleted: head/games/0ad/files/patch-build-resources-0ad.desktop Modified: head/games/0ad/Makefile head/games/0ad/distinfo head/games/0ad/files/patch-build-premake-premake4.lua Modified: head/games/0ad/Makefile ============================================================================== --- head/games/0ad/Makefile Thu Sep 5 12:54:46 2013 (r326392) +++ head/games/0ad/Makefile Thu Sep 5 13:08:30 2013 (r326393) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= 0ad -PORTVERSION= 0.0.13 -PORTREVISION= 1 +PORTVERSION= 0.0.14 CATEGORIES= games MASTER_SITES= SF/zero-ad/releases DISTFILES= ${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \ @@ -25,7 +24,7 @@ LIB_DEPENDS= boost_thread:${PORTSDIR}/de WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha BUILD_WRKSRC= ${WRKSRC}/build/workspaces/gcc MAKE_ARGS= config=release -USE_GMAKE= yes +USES= gmake pkgconfig USE_XZ= yes USE_SDL= sdl USE_GNOME= libxml2 gtk20 @@ -45,6 +44,26 @@ PORTDATA= * .include +# Taken from Mk/bsd.gnustep.mk +.if exists(${DESTDIR}/usr/bin/clang) +__CLANG!= ${DESTDIR}/usr/bin/clang --version | head -1 | \ + ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' +.else +__CLANG= 0 + +.if ${__CLANG} < 33 && ${OSVERSION} > 900014 +BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33 +CPP= ${LOCALBASE}/bin/clang-cpp33 +CC= ${LOCALBASE}/bin/clang33 +CXX= ${LOCALBASE}/bin/clang++33 +.elif ${OSVERSION} < 900014 +USE_GCC= yes +.else +CPP= /usr/bin/clang-cpp +CC= /usr/bin/clang +CXX= /usr/bin/clang++ +.endif + post-patch: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/build/premake/premake4.lua Modified: head/games/0ad/distinfo ============================================================================== --- head/games/0ad/distinfo Thu Sep 5 12:54:46 2013 (r326392) +++ head/games/0ad/distinfo Thu Sep 5 13:08:30 2013 (r326393) @@ -1,4 +1,4 @@ -SHA256 (0ad-0.0.13-alpha-unix-build.tar.xz) = 6694c34341ae2dcf81912b3242619f853216dc3b9447177931e903421e480e18 -SIZE (0ad-0.0.13-alpha-unix-build.tar.xz) = 10152276 -SHA256 (0ad-0.0.13-alpha-unix-data.tar.xz) = 284477ddb14732b48ef6740b804294fc8361460190368e60324ce0e22aca4f7e -SIZE (0ad-0.0.13-alpha-unix-data.tar.xz) = 420479284 +SHA256 (0ad-0.0.14-alpha-unix-build.tar.xz) = 2034cc71043c970e6229080385b343b08fd5c0b2258372dc19de4c2057267a5c +SIZE (0ad-0.0.14-alpha-unix-build.tar.xz) = 10172124 +SHA256 (0ad-0.0.14-alpha-unix-data.tar.xz) = e046531a55226a15784ce9c31df1d8e6723ad2cedd70a0abb63dc1721bf2a770 +SIZE (0ad-0.0.14-alpha-unix-data.tar.xz) = 450006708 Modified: head/games/0ad/files/patch-build-premake-premake4.lua ============================================================================== --- head/games/0ad/files/patch-build-premake-premake4.lua Thu Sep 5 12:54:46 2013 (r326392) +++ head/games/0ad/files/patch-build-premake-premake4.lua Thu Sep 5 13:08:30 2013 (r326393) @@ -1,6 +1,6 @@ ---- build/premake/premake4.lua.orig 2013-03-07 14:49:49.000000000 +0100 -+++ build/premake/premake4.lua 2013-04-03 00:14:47.033326555 +0200 -@@ -136,7 +136,7 @@ +--- build/premake/premake4.lua.orig 2013-08-27 04:42:56.000000000 +0200 ++++ build/premake/premake4.lua 2013-09-03 15:32:07.321963983 +0200 +@@ -138,7 +138,7 @@ function project_set_build_flags() @@ -9,15 +9,7 @@ if not _OPTIONS["icc"] and (os.is("windows") or not _OPTIONS["minimal-flags"]) then -- adds the -Wall compiler flag flags { "ExtraWarnings" } -- this causes far too many warnings/remarks on ICC -@@ -217,7 +217,6 @@ - - -- enable security features (stack checking etc) that shouldn't have - -- a significant effect on performance and can catch bugs -- "-fstack-protector-all", - "-D_FORTIFY_SOURCE=2", - - -- always enable strict aliasing (useful in debug builds because of the warnings) -@@ -343,11 +342,11 @@ +@@ -356,11 +356,11 @@ -- X11 includes may be installed in one of a gadzillion of three places -- Famous last words: "You can't include too much! ;-)" includedirs {