Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2023 12:52:51 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: 535e95b34caa - main - emulators/mupen64plus-video-glide64: Fix build with llvm16
Message-ID:  <202307241252.36OCqpUr096994@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=535e95b34caa282ca070c65f3b7df4056eccb77f

commit 535e95b34caa282ca070c65f3b7df4056eccb77f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-24 12:02:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-24 12:52:37 +0000

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

diff --git a/emulators/mupen64plus-video-glide64/Makefile b/emulators/mupen64plus-video-glide64/Makefile
index b192f0b7c25f..62e87098597a 100644
--- a/emulators/mupen64plus-video-glide64/Makefile
+++ b/emulators/mupen64plus-video-glide64/Makefile
@@ -6,20 +6,21 @@ COMMENT=	Glide64 video plugin for Mupen64Plus
 
 LIB_DEPENDS=	libmupen64plus.so.2:emulators/mupen64plus-core
 
-USES+=		gl sdl
+USES+=		gl localbase:ldflags sdl
+USE_CXXSTD=	c++14
 USE_GL=		gl
 USE_SDL=	sdl2
 
-MASTERDIR=	${.CURDIR}/../mupen64plus-core
-
-OPTIONS_DEFINE=	#
+CFLAGS+=	-I${LOCALBASE}/include/${PORTNAME}
 
-CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME}
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-DISTINFO_FILE=		${.CURDIR}/distinfo
+MASTERDIR=	${.CURDIR}/../mupen64plus-core
 EXTRACT_AFTER_ARGS=	#
+
 BUILD_WRKSRC=		${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix
 WRKSRC=			${WRKDIR}
 
+DISTINFO_FILE=		${.CURDIR}/distinfo
+
+OPTIONS_DEFINE=	#
+
 .include "${MASTERDIR}/Makefile"



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