svn commit: r329938 - head/games/corsix-th

Guido Falsi madpilot at FreeBSD.org
Wed Oct 9 23:12:06 UTC 2013


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:


More information about the svn-ports-head mailing list