aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-29 23:49:37 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-30 00:51:52 +0000
commit4e0c2ae319222145ab0b3f37c0ba52f596426d5a (patch)
treeeddb9dedd7e3425cfb1e2487cc30013d850c03e5
parent83c94d8a39d61d0aa63d79b6ebfd0fc3e2fe9e69 (diff)
downloadports-4e0c2ae319222145ab0b3f37c0ba52f596426d5a.tar.gz
ports-4e0c2ae319222145ab0b3f37c0ba52f596426d5a.zip
devel/kdevelop: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--devel/kdevelop/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile
index ac2c6001d224..a9816c5af2da 100644
--- a/devel/kdevelop/Makefile
+++ b/devel/kdevelop/Makefile
@@ -63,4 +63,10 @@ SHEBANG_LANG= zsh
zsh_OLD_CMD= /bin/zsh
zsh_CMD= ${LOCALBASE}/bin/zsh
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
+CXXFLAGS+= -Wno-error=enum-constexpr-conversion
+.endif
+
+.include <bsd.port.post.mk>