ports-mgmt/portlint vs absent USE_LDCONFIG

From: Sergei Vyshenski <svysh.fbsd_at_gmail.com>
Date: Wed, 09 Oct 2024 02:52:07 UTC
 Hi,

ports-mgmt/portlint-2.22.2 seems to be broken.

If a port does NOT define USE_LDCONFIG,
and this port does NOT install shared objects,
then portlint complains with:

You have defined USE_LDCONFIG, but this port does not install any shared
objects.

Example can be found here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281925

Last week line 917 of file ports-mgmt/portlint/src/portlint.pl
has been altered and now reads as follows:

if ($makevar{USE_LDCONFIG} ne "$makevar{PREFIX}/lib" && !$found_so) {

Maybe it should instead be like this:

if ($makevar{USE_LDCONFIG} ne "" && !$found_so) {

Regards, Sergei