svn commit: r568012 - head/net/tightvnc

Mathieu Arnold mat at freebsd.org
Mon May 17 07:51:42 UTC 2021


On Fri, May 14, 2021 at 04:49:33PM +0200, Gerald Pfeifer wrote:
> 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.

I would rather make USE_GCC=any do nothing, or give out an error, and
replace all its occurrences by "yes".

> Gerald
> 
> 
> commit 768f18f327ac9646fb8ee83263233909be540966
> Author: Gerald Pfeifer <gerald at FreeBSD.org>
> 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
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20210517/2c2287be/attachment.sig>


More information about the svn-ports-head mailing list