Date: Tue, 6 Jun 2023 20:45:40 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: 3bd54d7cbbfd - main - databases/py-postgresql: Fix build with llvm15 Message-ID: <202306062045.356KjeoD026009@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=3bd54d7cbbfdba7cb178b8372af2532ef33e1081 commit 3bd54d7cbbfdba7cb178b8372af2532ef33e1081 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-06 18:57:13 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-06 20:45:24 +0000 databases/py-postgresql: Fix build with llvm15 Approved by: portmgr (blanket) --- databases/py-postgresql/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile index 3b8da9df1fe1..e00a753494c8 100644 --- a/databases/py-postgresql/Makefile +++ b/databases/py-postgresql/Makefile @@ -15,4 +15,10 @@ LICENSE= BSD3CLAUSE USES= pgsql python:3.3+ USE_PYTHON= distutils autoplist -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306062045.356KjeoD026009>