Re: git: 4f7637c3116e - main - security/zeek: Remove duplicated and incorrect build dependency of CMake

From: Craig Leres <leres_at_freebsd.org>
Date: Sun, 15 Oct 2023 17:27:40 UTC
On 10/15/23 06:49, Daniel Engberg wrote:
> The branch main has been updated by diizzy:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=4f7637c3116e71456cbb65b4c4bab50a95e644ca
> 
> commit 4f7637c3116e71456cbb65b4c4bab50a95e644ca
> Author:     Daniel Engberg <diizzy@FreeBSD.org>
> AuthorDate: 2023-10-15 12:48:21 +0000
> Commit:     Daniel Engberg <diizzy@FreeBSD.org>
> CommitDate: 2023-10-15 13:48:58 +0000
> 
>      security/zeek: Remove duplicated and incorrect build dependency of CMake
>      
>      CMake binary is provided by devel/cmake-core not devel/cmake which
>      is a metaport and we don't need to safeguard for a version that's
>      over 3 years old
>      
>      Approved by:    portmgr (blanket)
> ---
>   security/zeek/Makefile | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/security/zeek/Makefile b/security/zeek/Makefile
> index ada76177bba3..c82778ba542a 100644
> --- a/security/zeek/Makefile
> +++ b/security/zeek/Makefile
> @@ -13,7 +13,6 @@ LICENSE=	CC-BY-4.0
>   BROKEN_FreeBSD_12_powerpc64=	does not build: error: zero-size array 'names'
>   
>   BUILD_DEPENDS=	bison>=3.3:devel/bison \
> -		cmake>=3.15.0:devel/cmake \
>   		flex>=2.6:textproc/flex \
>   		swig>=4.0.2:devel/swig
>   LIB_DEPENDS=	libcares.so:dns/c-ares

That was there because zeek requires cmake 3.15 or higher:

     Package requires CMake ${CMAKE_MINIMUM_REQUIRED_VERSION} which
     is less than Zeek's requirement (3.15.0). This will likely cause
     build failures and should be fixed.

And I didn't realize cmake was a metaport.

		Craig