1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Add USE_CXXSTD=c++98 instead of CXXFLAGS+=-Wno-reserved-user-defined-literal

(which is not supported by base GCC).

While here, add USES=gl gnome sdl.

PR:		235742
Submitted by:	Piotr Kubaj
This commit is contained in:
Mark Linimon 2019-02-24 21:58:41 +00:00
parent 0c0b1a9209
commit 1a61d551e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493816

View File

@ -19,15 +19,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
USES= gmake desthack
USES= desthack gl gmake gnome sdl
USE_CXXSTD= c++98
USE_GL= gl
USE_SDL= image mixer sdl ttf
MAKE_ARGS= HC_BASE=${PREFIX}/share/${PORTNAME}/ \
HC_BIN_DIR=${PREFIX}/bin/
MAKE_JOBS_UNSAFE= yes
CXXFLAGS+= -Wno-reserved-user-defined-literal
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128