Re: git: 682808b321a3 - main - Mk/bsd.port.mk: Setup SHLIB_PROVIDE_PATHS* vars for pkg

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Thu, 06 Mar 2025 11:11:03 UTC
On Thu, Mar 6, 2025 at 2:08 PM Gleb Popov <arrowd@freebsd.org> wrote:
>
> The branch main has been updated by arrowd:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=682808b321a3d0313deb97f9fd9ac72754d4d93a
>
> commit 682808b321a3d0313deb97f9fd9ac72754d4d93a
> Author:     Gleb Popov <arrowd@FreeBSD.org>
> AuthorDate: 2025-02-26 15:19:08 +0000
> Commit:     Gleb Popov <arrowd@FreeBSD.org>
> CommitDate: 2025-03-06 11:08:34 +0000
>
>     Mk/bsd.port.mk: Setup SHLIB_PROVIDE_PATHS* vars for pkg
>
>     This changes picks a new pkg feature: https://github.com/freebsd/pkg/pull/2422
>
>     The idea behind the `.if ${LINUX_DEFAULT} ...` check comes from the Linux
>     ld.so(8) man page that says
>
>     > (5)  In the default path /lib, and then /usr/lib.  (On some 64-bit
>     >      architectures, the default paths for 64-bit shared objects
>     >      are /lib64, and then /usr/lib64.)
>
>     CentOS 7 and Rocky Linux 9 that we have in Ports install 32 bit libraries
>     into `/usr/lib` and 64 bit libraries into `/usr/lib64`. `/lib` and `/lib64` are
>     symlinks, so I omitted them.
>
>     Differential Revision: https://reviews.freebsd.org/D49136
>     Approved by:    bapt

PR: 285055
Exp-run by: antoine
Pointy hat for forgetting things to: arrowd