git: 62bfc7f0f5be - main - deskutils/kdepim-runtime: Fix build with llvm 16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jun 2023 04:50:47 UTC
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>