git: 28c4428aa961 - main - games/sdb: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 22:16:30 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=28c4428aa9614c0b393ea12e6d41890ba2ba0006

commit 28c4428aa9614c0b393ea12e6d41890ba2ba0006
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 21:43:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 22:16:16 +0000

    games/sdb: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 games/sdb/Makefile | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/games/sdb/Makefile b/games/sdb/Makefile
index cb19ab69944f..46382a779bb9 100644
--- a/games/sdb/Makefile
+++ b/games/sdb/Makefile
@@ -15,18 +15,14 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		gl gmake sdl
-USE_SDL=	mixer image sdl
+USE_CXXSTD=	c++14
 USE_GL=		gl glu
+USE_SDL=	mixer image sdl
 
-BUILD_WRKSRC=	${WRKSRC}/src
+MAKE_ARGS=	CPP="${CXX}" CXXFLAGS="${CXXFLAGS}" LIBS="${LIBS}"
 
 CXXFLAGS+=	`${SDL_CONFIG} --cflags`
 LIBS+=		`${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer -lGL -lGLU
-MAKE_ARGS=	CPP="${CXX}" CXXFLAGS="${CXXFLAGS}" LIBS="${LIBS}"
-
-PLIST_FILES=	bin/sdb
-PORTDOCS=	*
-PORTDATA=	*
 
 DESKTOP_ENTRIES="Shotgun Debugger" \
 		"" \
@@ -35,6 +31,12 @@ DESKTOP_ENTRIES="Shotgun Debugger" \
 		"Game;ActionGame;" \
 		""
 
+BUILD_WRKSRC=	${WRKSRC}/src
+
+PLIST_FILES=	bin/sdb
+PORTDATA=	*
+PORTDOCS=	*
+
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>