From owner-svn-ports-head@freebsd.org Fri May 14 14:49:49 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 8DCBB64AF4E for ; Fri, 14 May 2021 14:49:49 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FhWdm53lQz3tQ2; Fri, 14 May 2021 14:49:48 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 21CBC33EED; Fri, 14 May 2021 10:49:42 -0400 (EDT) Received: from [192.168.1.5] (77.118.138.146.wireless.dyn.drei.com [77.118.138.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 04D3633EEB; Fri, 14 May 2021 10:49:40 -0400 (EDT) Date: Fri, 14 May 2021 16:49:33 +0200 (CEST) From: Gerald Pfeifer To: Mathieu Arnold , Piotr Kubaj , Mark Linimon cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, =?ISO-8859-15?Q?Fernando_Apestegu=EDa?= Subject: Re: svn commit: r568012 - head/net/tightvnc In-Reply-To: <739c1d5d-3a5f-cb4f-ebfa-56835044ac7e@pfeifer.com> Message-ID: <9510fbff-0e8-d29-403b-247fae4616bc@pfeifer.com> References: <202103101603.12AG371X067963@repo.freebsd.org> <13e0fa6a-7ea4-d321-c75e-474eeb415ee9@pfeifer.com> <20210315112025.ij4l2oiegzkq2hhu@aching.in.mat.cc> <6fc69b3c-6b86-ffd9-9784-524868a8d951@pfeifer.com> <20210317111317.vlp7f7kqxwhwlsjd@aching.in.mat.cc> <20210317114507.edjpfbwtdd3krfdb@aching.in.mat.cc> <20210317134119.bzvp2lfnpiewzl5k@aching.in.mat.cc> <20210317171958.znakfw7uj543uc7z@aching.in.mat.cc> <739c1d5d-3a5f-cb4f-ebfa-56835044ac7e@pfeifer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4FhWdm53lQz3tQ2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gerald@pfeifer.com designates 209.68.5.143 as permitted sender) smtp.mailfrom=gerald@pfeifer.com X-Spamd-Result: default: False [-3.05 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.68.5.143:from]; FREEFALL_USER(0.00)[gerald]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:hamza.pair.com]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[pfeifer.com]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[209.68.5.143:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.75)[-0.754]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[svn-ports-head] 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: Fri, 14 May 2021 14:49:49 -0000 On Thu, 18 Mar 2021, Gerald Pfeifer wrote: > Most ports featuring USE_GCC=any fit your reference regarding the > dinosaurs era. :-) > > As a first step, I am proposing the patch below. Wow, two months went by really quickly. I went ahead and fully deprecated USE_GCC=any, in terms of documentation for now, per the patch below. And fernape@ kindly prepared a patch for the Porters' Handbook, cf. https://reviews.freebsd.org/D30209 . Next stop: make USE_GCC=any equivalent to USE_GCC=yes. Gerald commit 768f18f327ac9646fb8ee83263233909be540966 Author: Gerald Pfeifer Date: Fri May 14 13:57:13 2021 +0000 Mk/bsd.gcc.mk: Deprecate USE_GCC=any diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index c836b95b8e17..aed64671d194 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -9,9 +9,6 @@ # your port/system configuration. This is the preferred use of USE_GCC. # It uses the canonical version of GCC defined in bsd.default-versions.mk. # -# USE_GCC=any is similar, except that it also accepts the old GCC 4.2- -# based system compiler where still present. -# # If your port needs a specific (minimum) version of GCC, you can easily # specify that with a USE_GCC= statement. Unless absolutely necessary # do so by specifying USE_GCC=X+ which requests at least GCC version X. @@ -24,11 +21,13 @@ # If no arguments are specified, GCC is added as both a build dependency # and a run time dependency. # +# (USE_GCC=any is deprecated, must not be used for new ports, and should +# be migrated to USE_GCC=yes or completely removed if possible.) +# # # Examples: # USE_GCC= yes # port requires a current version of GCC # # as defined in bsd.default-versions.mk. -# USE_GCC= any # port requires GCC 4.2 or later. # USE_GCC= 9+ # port requires GCC 9 or later. # USE_GCC= 8 # port requires GCC 8. # USE_GCC= yes:build # port requires a current version of GCC at