Re: git: 9b5005a44fdb - main - devel/cmake-core: Remove FindBoost module
Date: Sun, 28 Sep 2025 17:32:22 UTC
Hello!
Please revert, this change was not approved.
I've already answered to you about boost.
>> Boost::system is headers-only since 1.70 release.
>> Empty stub library is finally dropped in 1.89.
Maintainers need to fix their outdated ports and it is simple -- stop linking with Boost::system.
On 28.09.2025 05:14, Yuri Victorovich wrote:
> The branch main has been updated by yuri:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=9b5005a44fdbe85db87d9b244ca79e50d68f6bcd
>
> commit 9b5005a44fdbe85db87d9b244ca79e50d68f6bcd
> Author: Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2025-09-28 02:12:19 +0000
> Commit: Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2025-09-28 02:14:17 +0000
>
> devel/cmake-core: Remove FindBoost module
>
> It breaks many other ports, for example multimedia/lms, math/curv, science/votca
>
> cmake doesn't support Boost any more and doesn't know about
> the latest boost versions.
>
> Reported by: fallout
> Approved by: portmgr (blanket unbreak)
> ---
> devel/cmake-core/Makefile | 4 +++-
> devel/cmake-core/pkg-plist | 2 --
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/devel/cmake-core/Makefile b/devel/cmake-core/Makefile
> index 533042192c3b..88916e07b67e 100644
> --- a/devel/cmake-core/Makefile
> +++ b/devel/cmake-core/Makefile
> @@ -1,6 +1,6 @@
> PORTNAME= cmake
> DISTVERSION= ${_CMAKE_VERSION}
> -PORTREVISION= 1
> +PORTREVISION= 2
> CATEGORIES= devel
> PKGNAMESUFFIX= -core
>
> @@ -97,5 +97,7 @@ pre-configure:
>
> post-install:
> ${INSTALL_DATA} ${WRKSRC}/Auxiliary/cmake-mode.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
> + # remove boost module because it is broken and unnecessary and breaks build of many packages
> + @${FIND} ${STAGEDIR}${PREFIX} -name "FindBoost.*" -delete
>
> .include <bsd.port.mk>
> diff --git a/devel/cmake-core/pkg-plist b/devel/cmake-core/pkg-plist
> index 3da13fe26cf2..807fc9e9d355 100644
> --- a/devel/cmake-core/pkg-plist
> +++ b/devel/cmake-core/pkg-plist
> @@ -399,7 +399,6 @@ share/bash-completion/completions/ctest
> %%DATADIR%%/Help/module/FindBLAS.rst
> %%DATADIR%%/Help/module/FindBZip2.rst
> %%DATADIR%%/Help/module/FindBacktrace.rst
> -%%DATADIR%%/Help/module/FindBoost.rst
> %%DATADIR%%/Help/module/FindBullet.rst
> %%DATADIR%%/Help/module/FindCABLE.rst
> %%DATADIR%%/Help/module/FindCUDA.rst
> @@ -2639,7 +2638,6 @@ share/bash-completion/completions/ctest
> %%DATADIR%%/Modules/FindBLAS.cmake
> %%DATADIR%%/Modules/FindBZip2.cmake
> %%DATADIR%%/Modules/FindBacktrace.cmake
> -%%DATADIR%%/Modules/FindBoost.cmake
> %%DATADIR%%/Modules/FindBullet.cmake
> %%DATADIR%%/Modules/FindCABLE.cmake
> %%DATADIR%%/Modules/FindCUDA.cmake
>
--
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD, @fluffy:matrix-dev.freebsd.org)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team