Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 22:16:30 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 28c4428aa961 - main - games/sdb: Fix build with llvm16
Message-ID:  <202307232216.36NMGULH041210@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307232216.36NMGULH041210>