Re: git: f451b9caa1c3 - main - devel/heimdall: Fix building with CMake 4

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Mon, 07 Sep 2026 20:22:05 UTC
On Mon, Sep 07, 2026 at 04:07:46PM +0000, Gleb Popov wrote:
> commit f451b9caa1c30877895afb60f4433987515f979f
> 
>     devel/heimdall: Fix building with CMake 4
> ---
>  devel/heimdall/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/devel/heimdall/Makefile b/devel/heimdall/Makefile
> index 6a4233aa1a13..09d7165472b7 100644
> --- a/devel/heimdall/Makefile
> +++ b/devel/heimdall/Makefile
> @@ -14,6 +14,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
>  USES=		compiler:c++11-lang cmake:insource
>  USE_GITHUB=	yes
>  
> +CMAKE_ARGS=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5

Could you enlighten us more about this fix?  I mean, if it's that
simple, perhaps we could just set it across all ports to filter
the indeed non-compliant ones to be fixed and largely reduce the
ongoing churn?

./danfe