Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2024 05:52:07 +0300
From:      Sergei Vyshenski <svysh.fbsd@gmail.com>
To:        ports@freebsd.org, marcus@freebsd.org, Piotr Smyrak <ps.ports@smyrak.com>
Subject:   ports-mgmt/portlint vs absent USE_LDCONFIG
Message-ID:  <CAHU0Y-49KYbz-XWzKWtMY3_evTFk5wyK0FtGFUW-L3UuB07Ecg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000988a4f06240257c7
Content-Type: text/plain; charset="UTF-8"

 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

--000000000000988a4f06240257c7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">=C2=A0Hi,<br>
<br>
ports-mgmt/portlint-2.22.2 seems to be broken.<br>
<br>
If a port does NOT define USE_LDCONFIG, <br>
and this port does NOT install shared objects,<br>
then portlint complains with:<br>
<br>
You have defined USE_LDCONFIG, but this port does not install any shared ob=
jects.<br>
<br>
Example can be found here:<br>
<a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281925">http=
s://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281925</a><br>
<br>
Last week line 917 of file ports-mgmt/portlint/src/<a href=3D"http://portli=
nt.pl">portlint.pl</a><br>
has been altered and now reads as follows:<br>
<br>
if ($makevar{USE_LDCONFIG} ne &quot;$makevar{PREFIX}/lib&quot; &amp;&amp; !=
$found_so) {<br>
<br>
Maybe it should instead be like this:<br>
<br>
if ($makevar{USE_LDCONFIG} ne &quot;&quot; &amp;&amp; !$found_so) {<br>
<br>
Regards, Sergei<br>=C2=A0=C2=A0<br></div>

--000000000000988a4f06240257c7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHU0Y-49KYbz-XWzKWtMY3_evTFk5wyK0FtGFUW-L3UuB07Ecg>