Bug 262393

Summary: sysutils/rsyslog8: problem with USE_LDCONFIG
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Matthew Seaman <matthew>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (matthew)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mikael Urankar freebsd_committer freebsd_triage 2022-03-07 07:49:19 UTC
The port use "USE_LDCONFIG= yes" but none of the libraries are installed in PREFIX/lib, they are installed in PREFIX/lib/rsyslog
The fix is to use "USE_LDCONFIG= PREFIX/lib/rsyslog" (+ bump portrevision) or to drop USE_LDCONFIG if the libs are not used by other ports (which seems the case).
Thanks.
Comment 1 Matthew Seaman freebsd_committer freebsd_triage 2022-03-07 09:13:15 UTC
Good spot.  That's been in the port since approximately forever.  I'll work on it this evening.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-08 07:11:32 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f360912cd9b55a1fe132aabad3d6c96c7a0f354

commit 3f360912cd9b55a1fe132aabad3d6c96c7a0f354
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2022-03-08 07:04:52 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2022-03-08 07:10:34 +0000

    sysutils/rsyslog8: delete unnecessary code

    Remove USE_LDCONFIG -- the port installs a number of loadable modules
    for its own use.  These are not shared libraries that ldconfig(8)
    needs to deal with. (1)

    Remove REINPLACE_CMD lines that no longer do anything.  The library
    path compiled into the code is set from autoconfig nowadays.

    PR:             262393 (1)
    Reported by:    mikael

 sysutils/rsyslog8/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
Comment 3 Matthew Seaman freebsd_committer freebsd_triage 2022-03-08 07:12:04 UTC
Committed, thanks!