🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.bugs
2 messages
2 total messages Started by bugzilla-noreply Sun, 11 Oct 2026 16:32
[Bug 299312] Port `SHLIB_LINKS` from contrib/bmake/lib.mk to share/mk/bsd.lib.mk
#65
Author: bugzilla-noreply
Date: Sun, 11 Oct 2026 16:32
43 lines
3459 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299312

            Bug ID: 299312
           Summary: Port `SHLIB_LINKS` from contrib/bmake/lib.mk to
                    share/mk/bsd.lib.mk
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: ngie@FreeBSD.org

In the trivial case bsd.lib.mk creates a link from `libfoo.so.1` to
`libfoo.so`. This works great for simple libraries, but for more complex
libraries where the major version means something (`libcrypto.so.35`), bumping
the major number makes versioning less useful.

bmake's lib.mk features `SHLIB_LINKS` which handles this case and also allows
for additional structured linking. I think it's worth porting this feature over
to bsd.lib.mk to allow for the scenario of `libcrypto.so.35` ->
`libcrypto.so.35.1`.

This might require some changes to linker args in order to make this actually
work as this functionality only seems to apply to Darwin (macOS). Some
investigation will need to be done beforehand to confirm whether or not
compatible linker support exists with the toolchains available to FreeBSD.

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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 299312] Port `SHLIB_LINKS` from contrib/bmake/lib.mk to share/mk/bsd.lib.mk
#66
Author: bugzilla-noreply
Date: Sun, 11 Oct 2026 16:33
17 lines
2678 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299312

Enji Cooper <ngie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sjg@FreeBSD.org
           Assignee|bugs@FreeBSD.org            |ngie@FreeBSD.org

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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads