git: 5f6a91b20b0c - main - security/py-python-axolotl-curve25519: Unbreak on HEAD

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=5f6a91b20b0cc19367288d4b73cf7434850fb39c

commit 5f6a91b20b0cc19367288d4b73cf7434850fb39c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-05 22:45:37 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-06 14:39:02 +0000

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

diff --git a/security/py-python-axolotl-curve25519/Makefile b/security/py-python-axolotl-curve25519/Makefile
index bba1857a8a05..be5753626fe8 100644
--- a/security/py-python-axolotl-curve25519/Makefile
+++ b/security/py-python-axolotl-curve25519/Makefile
@@ -14,7 +14,13 @@ LICENSE=	GPLv3
 USES=		python:3.6+
 USE_PYTHON=	autoplist distutils
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=       -Wno-error=int-conversion
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/axolotl_curve25519*.so
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>