[Bug 284264] ports-mgmt/pkg after upgrade to 2.0 check -d reports missing system libs

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Jan 2025 10:38:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284264

--- Comment #8 from Oleg Streejak <oleg@pcbtech.ru> ---
(In reply to Baptiste Daroussin from comment #7)
suppose it's due to samba419 Makefile: it defines libarchive as RUN_DEPEND but
LIB_DEPEND.
Let's see, for example, the directives for libarchive and libgnuts - them both
are needed by samba419:

$ ldd /usr/local/bin/smbclient | egrep '^[^[:space:]]|lib(archive|gnu)'
/usr/local/bin/smbclient:
        libarchive.so.13 => /usr/local/lib/libarchive.so.13 (0xd7ce4ed1000)
        libgnutls.so.30 => /usr/local/lib/libgnutls.so.30 (0xd7cebae6000)

but within Makefile it reads so:

$ egrep 'lib(archive|gnu)' /usr/ports/net/samba419/Makefile
LIB_DEPENDS+=                   libgnutls.so:security/gnutls
# Libarchive
SAMBA4_BUNDLED_LIBS=            !libarchive
BUILD_DEPENDS+=                 libarchive>=3.1.2:archivers/libarchive
RUN_DEPENDS+=                   libarchive>=3.1.2:archivers/libarchive
                                --with-libarchive \

-- 
You are receiving this mail because:
You are the assignee for the bug.