diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mdb/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/mdb/Makefile b/devel/mdb/Makefile index 9776a464e43a..e340c1cd794a 100644 --- a/devel/mdb/Makefile +++ b/devel/mdb/Makefile @@ -26,6 +26,12 @@ CFLAGS+= -DMDB_PREFIX=\\\"${PREFIX}\\\" -g .include <bsd.port.pre.mk> +.if ${OSVERSION} < 1100021 +# This port uses CWARNFLAGS.clang to silence warnings which only works +# in 11.0 and later. +MAKE_ARGS+= NO_WERROR=yes +.endif + .if !exists(${SRC_BASE}/cddl/compat) || !exists(${SRC_BASE}/sys/cddl/compat) IGNORE= requires full source tree with CDDL sources .endif |