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 @@ -1,28 +1,33 @@ 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 LICENSE= GPLv2 BROKEN_aarch64= fails to build: src/libretro/libretro-common/libco/aarch64.c:25:1: error: meaningless 'volatile' on asm outside function 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 + +.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 +.include