Date: Thu, 8 Jun 2023 22:58:02 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 73f1ab19eb60 - main - math/py-levmar: Fix build with llvm15 Message-ID: <202306082258.358Mw2V9093520@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=73f1ab19eb60ad4802ca83da02244071716e71b4 commit 73f1ab19eb60ad4802ca83da02244071716e71b4 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-08 21:27:14 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-08 22:57:48 +0000 math/py-levmar: Fix build with llvm15 Approved by: portmgr (blanket) --- math/py-levmar/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/math/py-levmar/Makefile b/math/py-levmar/Makefile index be990e0385cc..d1175087fc0e 100644 --- a/math/py-levmar/Makefile +++ b/math/py-levmar/Makefile @@ -23,6 +23,12 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR} \ USES= python:3.6+ USE_PYTHON= distutils autoplist +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e 's|รถ|o|' ${WRKSRC}/AUTHORS # breaks because of non-ascii chars @@ -32,4 +38,4 @@ post-install: do-test: @cd ${WRKSRC}/levmar/tests && ${PYTHON_CMD} -m pytest --pyargs levmar -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306082258.358Mw2V9093520>