summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-25 10:34:02 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-25 10:36:28 +0200
commit731968ed8bd62620ec8f1fa9ca1deb5c425e6099 (patch)
tree1ea7438482165c93686d9d474272116fe938ea55 /security
parenttextproc/wv2: Fix build with llvm16 (diff)
security/kleopatra: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'security')
-rw-r--r--security/kleopatra/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/kleopatra/Makefile b/security/kleopatra/Makefile
index 86669da6c7ae..4ebb05d88f27 100644
--- a/security/kleopatra/Makefile
+++ b/security/kleopatra/Makefile
@@ -26,4 +26,10 @@ USE_XORG= x11
OPTIONS_DEFINE= DOCS
-.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>