Re: git: 58972f6dd486 - main - Qt 5 distribution ports: Add USE_LDCONFIG where appropriate

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Thu, 06 Mar 2025 05:48:11 UTC
On Wed, Mar 5, 2025 at 10:59 PM Max Brazhnikov <makc@freebsd.org> wrote:
>
> If I recall correctly, USE_LDCONFIG was removed from qt5* ports except for
> qt5-core to avoid having many ldconfig hints files with identical content.
> Perhaps, we should set USE_LDCONFIG to libdir for qt5-core port only and
> set "USE_LDCONFIG=yes" for the rest.

This is a preparation for landing https://reviews.freebsd.org/D49136
and a new pkg release.

From now pkg will only look for a specific set of directories when
computing the "provides" list. If a port installs libraries into
non-default ldconfig location, it now **must** have USE_LDCONFIG
defined and set to these custom dirs.

Yes, it is a bit clunky to have so much files with the same contents
in the ldconfig dir, but it probably can be amended at the trigger
level.