summaryrefslogtreecommitdiff
path: root/security/py-python-axolotl-curve25519
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-python-axolotl-curve25519')
-rw-r--r--security/py-python-axolotl-curve25519/Makefile8
1 files changed, 7 insertions, 1 deletions
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>