git: 23c1bcb893c1 - main - emulators/gngb: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 May 2023 19:59:17 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=23c1bcb893c11c57efbb20151159a982e0a5c7b9 commit 23c1bcb893c11c57efbb20151159a982e0a5c7b9 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-14 17:57:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-14 19:59:08 +0000 emulators/gngb: Unbreak on HEAD - Pet portclippy - Adopt port --- emulators/gngb/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile index 3e1ceed76f19..d09881bf8dd9 100644 --- a/emulators/gngb/Makefile +++ b/emulators/gngb/Makefile @@ -25,10 +25,16 @@ OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE=gl +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|"$$SDL_CONFIG" = yes|-n "$$SDL_CONFIG"|g ; \ s|sdl-config |$$SDL_CONFIG |g ; \ s|$$OPT||g' ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk>