git: 50a1f35a280f - main - graphics/urt: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 06 May 2023 14:39:18 UTC
The branch main has been updated by bofh:

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

commit 50a1f35a280fd76d856bb2af4b5e8abe64bf93de
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-06 14:33:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-06 14:39:03 +0000

    graphics/urt: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 graphics/urt/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index 869ca3d9ac97..89f90cca261b 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -30,6 +30,12 @@ MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
 ALL_TARGET=	# none
 USE_LDCONFIG=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=       -Wno-error=int-conversion
+.endif
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so
 
@@ -41,4 +47,4 @@ post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img
 	@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>