games/diaspora: 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> >::~basic_string()@GLIBCXX_3.4.21'
This commit is contained in:
Piotr Kubaj 2019-12-08 15:28:05 +00:00
parent 1cbb20734f
commit e66ee36b33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519309

View file

@ -33,7 +33,8 @@ LIB_DEPENDS= libjansson.so:devel/jansson \
libvorbisfile.so:audio/libvorbis \
libtheora.so:multimedia/libtheora
USES= autoreconf compiler gl jpeg lua:51 openal pkgconfig sdl tar:lzma
USES= autoreconf compiler:c++11-lang gl jpeg lua:51 openal pkgconfig \
sdl tar:lzma
USE_CXXSTD= gnu++98
USE_GL= gl glu
USE_SDL= sdl