Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2019 15:57:10 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519215 - head/games/assaultcube
Message-ID:  <201912071557.xB7FvATx069269@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Dec  7 15:57:10 2019
New Revision: 519215
URL: https://svnweb.freebsd.org/changeset/ports/519215

Log:
  games/assaultcube: fix build on GCC architectures
  
  OpenAL needs C++11 compiler:
  /usr/local/lib/libopenal.so: undefined reference to `VTT for std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'

Modified:
  head/games/assaultcube/Makefile

Modified: head/games/assaultcube/Makefile
==============================================================================
--- head/games/assaultcube/Makefile	Sat Dec  7 15:49:01 2019	(r519214)
+++ head/games/assaultcube/Makefile	Sat Dec  7 15:57:10 2019	(r519215)
@@ -39,7 +39,8 @@ OPTIONS_MULTI_BUILD=	CLIENT DEDICATED MASTER
 OPTIONS_DEFAULT=	CLIENT DEDICATED
 
 CLIENT_DESC=	Build client
-CLIENT_USES=		gettext-runtime gl openal:al sdl xorg
+CLIENT_USES=		compiler:c++11-lang gettext-runtime gl openal:al sdl \
+			xorg
 CLIENT_USE=		GL=gl SDL=image,sdl XORG=x11
 CLIENT_LIB_DEPENDS=	libvorbisfile.so:audio/libvorbis \
 			libcurl.so:ftp/curl



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