aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-06 14:38:32 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-06 14:39:03 +0000
commit8973c17e6a74473f6ced2a10901401a580b56074 (patch)
treeec76fc128fcda799c4db56dc87b022dd5d2fffd9
parent5c4a2741408a26067cf43bf81e0db8259e4d9171 (diff)
downloadports-8973c17e6a74473f6ced2a10901401a580b56074.tar.gz
ports-8973c17e6a74473f6ced2a10901401a580b56074.zip
archivers/py-lzma: Unbreak on HEAD
Approved by: portmgr (blanket)
-rw-r--r--archivers/py-lzma/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/archivers/py-lzma/Makefile b/archivers/py-lzma/Makefile
index 0e0b4fbcd8c5..2ee88f54e6cb 100644
--- a/archivers/py-lzma/Makefile
+++ b/archivers/py-lzma/Makefile
@@ -31,4 +31,10 @@ post-install-DOCS-on:
post-install:
@${STRIP_CMD} ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/pylzma*.so
-.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>