git: a75531cf7642 - main - games/libretro-bluemsx: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 12 May 2023 18:36:23 UTC
The branch main has been updated by bofh:

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

commit a75531cf76422b27a8fbe17cd64b730bc4e30def
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 18:35:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-12 18:36:07 +0000

    games/libretro-bluemsx: Unbreak on HEAD
    
    - Pet portclippy
    - Adopt port
---
 games/libretro-bluemsx/Makefile | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/games/libretro-bluemsx/Makefile b/games/libretro-bluemsx/Makefile
index 5f06a464b7b8..451f6b608347 100644
--- a/games/libretro-bluemsx/Makefile
+++ b/games/libretro-bluemsx/Makefile
@@ -2,24 +2,29 @@ PORTNAME=	libretro-bluemsx
 PORTVERSION=	0.20220213
 CATEGORIES=	games
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Port of blueMSX to the libretro API
 WWW=		https://github.com/libretro/blueMSX-libretro
 
 LICENSE=	GPLv3
 
 USES=		compiler:c++11-lib gmake
-USE_LDCONFIG=	yes
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	libretro
 GH_PROJECT=	blueMSX-libretro
 GH_TAGNAME=	92d0c41
+USE_LDCONFIG=	yes
 
 PLIST_FILES=	lib/libretro/bluemsx_libretro.so
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 do-install:
 	${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
 	${INSTALL_LIB} ${WRKSRC}/bluemsx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>