Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2019 20:26:00 +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: r519236 - head/games/iortcw
Message-ID:  <201912072026.xB7KQ07w031480@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Dec  7 20:26:00 2019
New Revision: 519236
URL: https://svnweb.freebsd.org/changeset/ports/519236

Log:
  games/iortcw: fix build on GCC architectures
  
  OpenAL needs C++11 compiler:
  /usr/local/lib/libopenal.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'

Modified:
  head/games/iortcw/Makefile

Modified: head/games/iortcw/Makefile
==============================================================================
--- head/games/iortcw/Makefile	Sat Dec  7 20:07:58 2019	(r519235)
+++ head/games/iortcw/Makefile	Sat Dec  7 20:26:00 2019	(r519236)
@@ -20,7 +20,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libopus.so:audio/opus \
 		libopusfile.so:audio/opusfile
 
-USES=		gl gmake jpeg openal pkgconfig sdl xorg
+USES=		compiler:c++11-lang gl gmake jpeg openal pkgconfig sdl xorg
 USE_GITHUB=	yes
 USE_GL=		gl
 USE_SDL=	sdl2



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