git: 06dc000e335e - main - games/libretro-mame2000: Unbreak on HEAD

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

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

commit 06dc000e335ed40a0ff6e1fbb70f405bc4fb4bd3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-15 14:23:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-15 15:31:46 +0000

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

diff --git a/games/libretro-mame2000/Makefile b/games/libretro-mame2000/Makefile
index 9c601655ae70..2932af3207c4 100644
--- a/games/libretro-mame2000/Makefile
+++ b/games/libretro-mame2000/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	libretro-mame2000
 PORTVERSION=	0.20220405
 CATEGORIES=	games
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	MAME (0.37b5) for libretro
 WWW=		https://github.com/libretro/mame2000-libretro
 
@@ -12,17 +12,22 @@ BROKEN_aarch64=	fails to build: src/libretro/libretro-common/libco/aarch64.c:25:
 
 USES=		compiler:c++11-lib dos2unix gmake
 DOS2UNIX_FILES=	src/cpu/tms9900/99xxstat.h
-USE_LDCONFIG=	yes
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	libretro
 GH_PROJECT=	mame2000-libretro
 GH_TAGNAME=	f35db38
+USE_LDCONFIG=	yes
 
 PLIST_FILES=	lib/libretro/mame2000_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}/mame2000_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>