- Switch to more correct way of avoiding C++11 related build errors

This commit is contained in:
Dmitry Marakasov 2019-02-21 20:50:29 +00:00
parent 5db27e472e
commit bb8b585221
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493529

View file

@ -16,17 +16,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libexpat.so:textproc/expat2
USES= cmake compiler tar:bzip2
USES= cmake gl sdl tar:bzip2
USE_GL= gl
USE_XORG= x11
USE_SDL= sdl
USE_CXXSTD= c++98
USE_GITHUB= yes
GH_ACCOUNT= AMDmi3
TEST_TARGET= test
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
PORTDOCS= README ChangeLog
OPTIONS_DEFINE= DOCS