Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2021 14:21:28 +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-branches@freebsd.org
Subject:   svn commit: r564955 - branches/2021Q1/shells/v7sh/files
Message-ID:  <202102111421.11BELSUH013392@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Thu Feb 11 14:21:27 2021
New Revision: 564955
URL: https://svnweb.freebsd.org/changeset/ports/564955

Log:
  MFH: r564954
  
  shells/v7sh: pet pkg-fallout
  
  Unbreak build in FreeBSD < 13
  
  PR:     253241
  Submitted by:   portmaster@bsdforge.com (maintainer)

Modified:
  branches/2021Q1/shells/v7sh/files/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/shells/v7sh/files/Makefile
==============================================================================
--- branches/2021Q1/shells/v7sh/files/Makefile	Thu Feb 11 14:18:43 2021	(r564954)
+++ branches/2021Q1/shells/v7sh/files/Makefile	Thu Feb 11 14:21:27 2021	(r564955)
@@ -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?202102111421.11BELSUH013392>