Date: Sun, 25 Jun 2023 04:50:47 GMT From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 62bfc7f0f5be - main - deskutils/kdepim-runtime: Fix build with llvm 16 Message-ID: <202306250450.35P4olc8075785@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jkim: URL: https://cgit.FreeBSD.org/ports/commit/?id=62bfc7f0f5beec939705a7adf50c0be84e0ede60 commit 62bfc7f0f5beec939705a7adf50c0be84e0ede60 Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2023-06-25 04:50:05 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2023-06-25 04:50:05 +0000 deskutils/kdepim-runtime: Fix build with llvm 16 Approved by: portmgr (blanket) --- deskutils/kdepim-runtime/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deskutils/kdepim-runtime/Makefile b/deskutils/kdepim-runtime/Makefile index 93f89d7f93f0..bbe55366a3c0 100644 --- a/deskutils/kdepim-runtime/Makefile +++ b/deskutils/kdepim-runtime/Makefile @@ -40,4 +40,10 @@ DESCR= ${.CURDIR:H:H}/deskutils/kdepim/pkg-descr OPTIONS_DEFINE= DOCS -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CXXFLAGS+= -Wno-error=enum-constexpr-conversion +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306250450.35P4olc8075785>