1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

- Add USES=gl

- Add USES=sdl
- Switch to more correct way of avoiding C++11 related build errors
This commit is contained in:
Dmitry Marakasov 2019-02-21 21:07:41 +00:00
parent 37b50ab5fe
commit a9ffd968e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493535

View File

@ -20,15 +20,13 @@ USE_GITHUB= yes
GH_ACCOUNT= ooxi
GH_TUPLE= jarro2783:CMake-Gettext:6ee6405:cmakegettext/lib/CMake-Gettext
USES= cmake compiler:c++11-lang gettext
USES= cmake gettext gl sdl
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
USE_CXXSTD= c++98
CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}" \
-DLOCALE_INSTALL_DIR="${PREFIX}/share/locale"
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
PORTDOCS= *
PORTDATA= *