Page MenuHomeFreeBSD

libmd: Install libmd.so.6 into /lib again after SVN r338270
ClosedPublic

Authored by jilles on Aug 26 2018, 4:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 7:36 AM
Unknown Object (File)
Wed, May 6, 11:45 PM
Unknown Object (File)
Sat, May 2, 10:39 AM
Unknown Object (File)
Mon, Apr 27, 3:11 PM
Unknown Object (File)
Mon, Apr 27, 11:33 AM
Unknown Object (File)
Apr 18 2026, 3:47 AM
Unknown Object (File)
Apr 14 2026, 3:34 AM
Unknown Object (File)
Apr 9 2026, 7:16 PM

Details

Summary

Including <src.opts.mk> sets SHLIBDIR, so the below SHLIBDIR?= has no
effect.

The other lib/ Makefiles solve this problem by moving the SHLIBDIR
assignment to before .include <src.opts.mk>.

Test Plan

make buildworld with SVN r338310, make installworld (notice that
/lib/libmd.so.6 has an old timestamp and /usr/lib/libmd.so.6 exists),
apply patch, make buildworld -DNOCLEAN, make installworld (notice that
/lib/libmd.so.6 has a recent timestamp and /usr/lib/libmd.so.6 is gone),

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable