git: a79a5d257e8d - main - games/xminehunter: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 26 Jul 2023 15:04:10 UTC
The branch main has been updated by bofh:

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

commit a79a5d257e8dfefac7023aebcc22728d8371b1da
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 14:11:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 15:04:01 +0000

    games/xminehunter: Fix build with llvm16
    
    - Utilize USES=localbase
    
    Sponsored by:   The FreeBSD Foundation
---
 games/xminehunter/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/games/xminehunter/Makefile b/games/xminehunter/Makefile
index c62e48e3b48d..9f99cf126676 100644
--- a/games/xminehunter/Makefile
+++ b/games/xminehunter/Makefile
@@ -14,14 +14,13 @@ LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-USES=		compiler motif xorg
+USES=		compiler motif localbase:ldflags xorg
+USE_CXXSTD=	c++14
 USE_XORG=	xpm
 ALL_TARGET=	${PORTNAME}
 
 CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
 CXXFLAGS_clang=	-Wno-c++11-narrowing
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 DESKTOP_ENTRIES="XMineHunter" "" "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
 		"${PORTNAME}" "" ""