git: 485b2040fb73 - main - devel/py-rchitect: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 12 May 2023 18:36:19 UTC
The branch main has been updated by bofh:

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

commit 485b2040fb73b867f13298212350799447381eb2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 17:04:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-12 18:36:07 +0000

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

diff --git a/devel/py-rchitect/Makefile b/devel/py-rchitect/Makefile
index 8af869667926..4bb2231071a7 100644
--- a/devel/py-rchitect/Makefile
+++ b/devel/py-rchitect/Makefile
@@ -18,4 +18,10 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.10.0:devel/py-cffi@${PY_FLAVOR} \
 USES=		python:3.6+
 USE_PYTHON=	distutils autoplist
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>