Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 23:12:06 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329938 - head/games/corsix-th
Message-ID:  <201310092312.r99NC6bN094596@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Wed Oct  9 23:12:05 2013
New Revision: 329938
URL: http://svnweb.freebsd.org/changeset/ports/329938

Log:
  - Convert to USES=compiler

Modified:
  head/games/corsix-th/Makefile

Modified: head/games/corsix-th/Makefile
==============================================================================
--- head/games/corsix-th/Makefile	Wed Oct  9 23:11:23 2013	(r329937)
+++ head/games/corsix-th/Makefile	Wed Oct  9 23:12:05 2013	(r329938)
@@ -16,7 +16,7 @@ LICENSE=	MIT
 
 LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
 
-USES=		cmake pkgconfig
+USES=		cmake compiler:c++11-lang pkgconfig
 USE_LUA=	yes
 USE_SDL=	mixer
 USE_DOS2UNIX=	CMake/FindFFmpeg.cmake \
@@ -33,15 +33,8 @@ MOVIES_LIB_DEPENDS=	libswresample1.so:${
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MMOVIES}
-# partly copied from editors/libreoffice
-.if exists(/usr/bin/clang) && ${OSVERSION} > 900014
-CC=		/usr/bin/clang
-CPP=		/usr/bin/clang-cpp
-CXX=		/usr/bin/clang++
-.else
-USE_GCC=	yes
-.endif
+.if ${PORT_OPTIONS:MMOVIES} && ${OSVERSION} < 900014
+FAVORITE_COMPILER=	gcc
 .endif
 
 post-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310092312.r99NC6bN094596>