aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-02-11 14:18:43 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-02-11 14:18:43 +0000
commitfe22a8f2566853faa75be1279dfd5585f475e83e (patch)
tree358e8ffb2b35bbada25939a2298d650e2742335e /shells
parent07fa21db682be2afe108f3580d9467cde3b35097 (diff)
downloadports-fe22a8f2566853faa75be1279dfd5585f475e83e.tar.gz
ports-fe22a8f2566853faa75be1279dfd5585f475e83e.zip
shells/v7sh: pet pkg-fallout
Unbreak build in FreeBSD < 13 PR: 253241 Submitted by: portmaster@bsdforge.com (maintainer) MFH: 2021Q1 (build fix)
Notes
Notes: svn path=/head/; revision=564954
Diffstat (limited to 'shells')
-rw-r--r--shells/v7sh/files/Makefile4
1 files changed, 4 insertions, 0 deletions
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 <bsd.prog.mk>