From owner-svn-ports-all@FreeBSD.ORG Wed Oct 9 23:11:23 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 B047BDFE; Wed, 9 Oct 2013 23:11:23 +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 9DEF82D86; Wed, 9 Oct 2013 23:11:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r99NBNKH094320; Wed, 9 Oct 2013 23:11:23 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r99NBNZQ094319; Wed, 9 Oct 2013 23:11:23 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201310092311.r99NBNZQ094319@svn.freebsd.org> From: Guido Falsi Date: Wed, 9 Oct 2013 23:11:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329937 - head/games/0ad 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: Wed, 09 Oct 2013 23:11:23 -0000 Author: madpilot Date: Wed Oct 9 23:11:23 2013 New Revision: 329937 URL: http://svnweb.freebsd.org/changeset/ports/329937 Log: - Convert to USES=compiler Modified: head/games/0ad/Makefile Modified: head/games/0ad/Makefile ============================================================================== --- head/games/0ad/Makefile Wed Oct 9 23:05:54 2013 (r329936) +++ head/games/0ad/Makefile Wed Oct 9 23:11:23 2013 (r329937) @@ -24,7 +24,7 @@ LIB_DEPENDS= libboost_thread.so:${PORTSD WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha BUILD_WRKSRC= ${WRKSRC}/build/workspaces/gcc MAKE_ARGS= config=release -USES= gmake pkgconfig +USES= compiler:c++11-lang gmake pkgconfig USE_XZ= yes USE_SDL= sdl USE_GNOME= libxml2 gtk20 @@ -42,27 +42,10 @@ MANUAL_PACKAGE_BUILD= yes # huge PORTDATA= * -.include +.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 -.endif - -.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++ +.if ${OSVERSION} < 900014 +FAVORITE_COMPILER= gcc .endif post-patch: @@ -87,4 +70,4 @@ do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/binaries/data && ${COPYTREE_SHARE} "config mods tests tools" ${STAGEDIR}${DATADIR}) -.include +.include