From owner-svn-ports-head@freebsd.org Thu Feb 11 14:18:44 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F054529796; Thu, 11 Feb 2021 14:18:44 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DbzJN1P0Jz3pht; Thu, 11 Feb 2021 14:18:44 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2298E125C8; Thu, 11 Feb 2021 14:18:44 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11BEIh6b009904; Thu, 11 Feb 2021 14:18:43 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11BEIhRm009903; Thu, 11 Feb 2021 14:18:43 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202102111418.11BEIhRm009903@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Thu, 11 Feb 2021 14:18:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r564954 - head/shells/v7sh/files X-SVN-Group: ports-head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: head/shells/v7sh/files X-SVN-Commit-Revision: 564954 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2021 14:18:44 -0000 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