summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-12-07 15:57:10 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-12-07 15:57:10 +0000
commitcacc29d3402ffa21e85c36b143347c6cf0b97bcf (patch)
tree20f4117e6696182b8ca4e55fb4b9171ba1828831
parentmath/sc-im: fix build on GCC architectures (diff)
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'
Notes
Notes: svn path=/head/; revision=519215
-rw-r--r--games/assaultcube/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/assaultcube/Makefile b/games/assaultcube/Makefile
index 8ece0b74e896..8b1febcdbb4b 100644
--- a/games/assaultcube/Makefile
+++ b/games/assaultcube/Makefile
@@ -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