On 2026/07/08 23:26, Jeremie Courreges-Anglas wrote:
> On Wed, Jul 08, 2026 at 11:15:19PM +0200, Jeremie Courreges-Anglas wrote:
> > Instead, do you know of any cmake magic that would
> > silence those rather pointless warnings?
> 
> This would be a way to disable the warnings.  But I'm not sure we want
> that either...
> 
> 
> Index: cmake.port.mk
> ===================================================================
> RCS file: /cvs/ports/devel/cmake/cmake.port.mk,v
> diff -u -p -r1.92 cmake.port.mk
> --- cmake.port.mk     6 Jul 2026 09:22:29 -0000       1.92
> +++ cmake.port.mk     8 Jul 2026 21:24:10 -0000
> @@ -13,6 +13,8 @@ CONFIGURE_ENV += MODCMAKE_USE_SHARED_LIB
>  MAKE_ENV += MODCMAKE_USE_SHARED_LIBS=yes
>  .endif
>  
> +CONFIGURE_ARGS +=    --no-warn-unused-cli

I'd only want to disable warnings for these ones set by porta
infrastructure (if disabling any at all).

I *do* want to see warnings when a variable set by a port Makefile is
removed in a newer upstream version (or has been typo'd etc).

Reply via email to