git: aaa2456551d5 - main - games/libretro-mame2003_plus: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 15 May 2023 15:32:03 UTC
The branch main has been updated by bofh:

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

commit aaa2456551d5e736589772dc592767f1c8e6847f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-15 15:31:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-15 15:31:47 +0000

    games/libretro-mame2003_plus: Unbreak on HEAD
    
    - Adopt port
---
 games/libretro-mame2003_plus/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/games/libretro-mame2003_plus/Makefile b/games/libretro-mame2003_plus/Makefile
index c5a09800342f..eeb4d606b206 100644
--- a/games/libretro-mame2003_plus/Makefile
+++ b/games/libretro-mame2003_plus/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	libretro-mame2003_plus
 PORTVERSION=	0.20220406
 CATEGORIES=	games
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Updated MAME 0.78 for libretro with added game support
 WWW=		https://github.com/libretro/mame2003-plus-libretro
 
@@ -18,8 +18,14 @@ GH_TAGNAME=	9ab273f
 
 PLIST_FILES=	lib/libretro/mame2003_plus_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}/mame2003_plus_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>