git: 7fc362556f9b - main - emulators/mupen64plus-video-glide64mk2: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 24 Jul 2023 12:52:54 UTC
The branch main has been updated by bofh:

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

commit 7fc362556f9b72a14ef7d99c03ea3d5b02ec97e0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-24 12:10:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-24 12:52:38 +0000

    emulators/mupen64plus-video-glide64mk2: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 emulators/mupen64plus-video-glide64mk2/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/emulators/mupen64plus-video-glide64mk2/Makefile b/emulators/mupen64plus-video-glide64mk2/Makefile
index 4f3554445afd..7d33496491e5 100644
--- a/emulators/mupen64plus-video-glide64mk2/Makefile
+++ b/emulators/mupen64plus-video-glide64mk2/Makefile
@@ -6,15 +6,15 @@ COMMENT=	Glide64mk2 video plugin for Mupen64Plus
 LIB_DEPENDS=	libmupen64plus.so.2:emulators/mupen64plus-core \
 		libboost_thread.so:devel/boost-libs
 
-USES+=		gl sdl
+USES+=		gl localbase:ldflags sdl
+USE_CXXSTD=	c++14
 USE_GL=		gl
 USE_SDL=	sdl2
 
+CFLAGS+=	-I${LOCALBASE}/include/${PORTNAME}
+
 MASTERDIR=	${.CURDIR}/../mupen64plus-core
 
 OPTIONS_DEFINE=	#
 
-CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME}
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 .include "${MASTERDIR}/Makefile"