diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2021-02-11 14:21:27 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2021-02-11 14:21:27 +0000 |
commit | 9c6c8c8802ef66bc24495117e01b254461fbe502 (patch) | |
tree | 1fdef55b756452b9f00e634adf2d002fb08abea2 /shells | |
parent | eaafd8044815eb7b982940321edff2a960372f61 (diff) | |
download | ports-9c6c8c8802ef66bc24495117e01b254461fbe502.tar.gz ports-9c6c8c8802ef66bc24495117e01b254461fbe502.zip |
MFH: r564954
shells/v7sh: pet pkg-fallout
Unbreak build in FreeBSD < 13
PR: 253241
Submitted by: portmaster@bsdforge.com (maintainer)
Notes
Notes:
svn path=/branches/2021Q1/; revision=564955
Diffstat (limited to 'shells')
-rw-r--r-- | shells/v7sh/files/Makefile | 4 |
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> |