From 9c6c8c8802ef66bc24495117e01b254461fbe502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Thu, 11 Feb 2021 14:21:27 +0000 Subject: [PATCH] MFH: r564954 shells/v7sh: pet pkg-fallout Unbreak build in FreeBSD < 13 PR: 253241 Submitted by: portmaster@bsdforge.com (maintainer) --- shells/v7sh/files/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shells/v7sh/files/Makefile b/shells/v7sh/files/Makefile index f76184d95e5e..fc1cb9c0a566 100644 --- a/shells/v7sh/files/Makefile +++ b/shells/v7sh/files/Makefile @@ -15,7 +15,11 @@ SRCS= args.c blok.c builtin.c cmd.c ctype.c error.c expand.c \ CWARNFLAGS?= -ansi -Wbad-function-cast WARNS?= 6 +.if ${OSREL:R} < 13 NO_WERROR=1 +.else +MK_WERROR=no +.endif WFORMAT=0 .include