svn commit: r564954 - head/shells/v7sh/files
Fernando Apesteguía
fernape at FreeBSD.org
Thu Feb 11 14:18:44 UTC 2021
Author: fernape
Date: Thu Feb 11 14:18:43 2021
New Revision: 564954
URL: https://svnweb.freebsd.org/changeset/ports/564954
Log:
shells/v7sh: pet pkg-fallout
Unbreak build in FreeBSD < 13
PR: 253241
Submitted by: portmaster at bsdforge.com (maintainer)
MFH: 2021Q1 (build fix)
Modified:
head/shells/v7sh/files/Makefile
Modified: head/shells/v7sh/files/Makefile
==============================================================================
--- head/shells/v7sh/files/Makefile Thu Feb 11 14:08:44 2021 (r564953)
+++ head/shells/v7sh/files/Makefile Thu Feb 11 14:18:43 2021 (r564954)
@@ -15,7 +15,11 @@ SRCS= args.c blok.c builtin.c cmd.c ctype.c error.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>
More information about the svn-ports-all
mailing list