git: 8973c17e6a74 - main - archivers/py-lzma: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 May 2023 14:39:20 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8973c17e6a74473f6ced2a10901401a580b56074 commit 8973c17e6a74473f6ced2a10901401a580b56074 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-06 14:38:32 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-06 14:39:03 +0000 archivers/py-lzma: Unbreak on HEAD Approved by: portmgr (blanket) --- archivers/py-lzma/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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>