Re: git: f4fd2aa07cde - main - libutil++: Move to clibs
Date: Fri, 08 Aug 2025 22:28:11 UTC
On Fri, Aug 08, 2025 at 03:39:39PM +0000, Lexi Winter wrote:
> The branch main has been updated by ivy:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=f4fd2aa07cdeca58ff792aebeca5c572fd92dffc
>
> commit f4fd2aa07cdeca58ff792aebeca5c572fd92dffc
> Author: Lexi Winter <ivy@FreeBSD.org>
> AuthorDate: 2025-08-08 15:14:07 +0000
> Commit: Lexi Winter <ivy@FreeBSD.org>
> CommitDate: 2025-08-08 15:14:07 +0000
>
> libutil++: Move to clibs
>
> This library only installs manual pages, so putting it in its own
> package means we build a FreeBSD-libutil++-man package but not a
> base FreeBSD-libutil++ package. Without a base package, the man
> package can't be installed due to the missing dependency.
>
> We don't really need a separate package for a few manpages, so move
> it to clibs.
>
> Reviewed by: des
> Differential Revision: https://reviews.freebsd.org/D51756
> ---
> lib/libutil++/Makefile | 2 +-
> release/packages/ucl/libutil++-all.ucl | 4 ----
> 2 files changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/lib/libutil++/Makefile b/lib/libutil++/Makefile
> index df3074c2278e..729a336ddb3a 100644
> --- a/lib/libutil++/Makefile
> +++ b/lib/libutil++/Makefile
> @@ -1,4 +1,4 @@
> -PACKAGE= lib${LIB}
> +PACKAGE= clibs
> LIB_CXX= util++
> INTERNALLIB= true
> SHLIB_MAJOR= 1
> diff --git a/release/packages/ucl/libutil++-all.ucl b/release/packages/ucl/libutil++-all.ucl
> deleted file mode 100644
> index dfd77215dbc5..000000000000
> --- a/release/packages/ucl/libutil++-all.ucl
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -comment = "C++ utility library"
> -desc = <<EOD
> -libutil++ contains various C++ utility classes used by the base system.
> -EOD
clibs package must not be extended arbitrarily.
The clibs package is intended to provide the minimal safe atomic update for
C runtime. Anything else is out of its scope.
Really it should contain just rtld/libc/libthr and required fs structures.