git: 86b2b0621687 - main - games/openglad: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 17:43:36 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86b2b06216876903b33f768c4a1ae63297d5b5f3

commit 86b2b06216876903b33f768c4a1ae63297d5b5f3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 17:26:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:39 +0000

    games/openglad: Fix build with llvm16
    
    - Utilize USES=localbase
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 games/openglad/Makefile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/games/openglad/Makefile b/games/openglad/Makefile
index cc87a901bd46..f60b0feff597 100644
--- a/games/openglad/Makefile
+++ b/games/openglad/Makefile
@@ -11,17 +11,16 @@ WWW=		http://snowstorm.sourceforge.net
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		gmake sdl
+NOT_FOR_ARCHS=	sparc64
+
+USES=		gmake localbase:ldflags sdl
+USE_CXXSTD=	c++14
 USE_SDL=	sdl mixer
-GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+GNU_CONFIGURE=	yes
 
 DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" ""
 
-NOT_FOR_ARCHS=	sparc64
-
 OPTIONS_DEFINE=	DOCS
 
 post-patch: