Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2021 14:18:43 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564954 - head/shells/v7sh/files
Message-ID:  <202102111418.11BEIhRm009903@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102111418.11BEIhRm009903>