Page MenuHomeFreeBSD

Makefile.libcompat: Tweak krb5 compat dirs
ClosedPublic

Authored by ivy on Aug 16 2025, 10:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 3:49 AM
Unknown Object (File)
Sat, Oct 11, 3:49 AM
Unknown Object (File)
Sat, Oct 11, 3:48 AM
Unknown Object (File)
Sat, Oct 11, 3:48 AM
Unknown Object (File)
Fri, Oct 10, 8:48 PM
Unknown Object (File)
Sun, Oct 5, 10:22 PM
Unknown Object (File)
Sun, Oct 5, 10:18 PM
Unknown Object (File)
Sat, Sep 27, 6:39 PM
Subscribers

Details

Summary

krb5/util contains both programs and libraries; trying to build that
for compat confuses bsd.prog.mk and results in unwanted files being
created in the source tree. Remove krb5/util and instead list only
the directories underneath krb5/util which contain libraries.

While here, add krb5/libdata so that we install 32-bit versions of
the pkgconfig data which were previously missing.

Fixes: fb13ae28b2e8 ("Makefile.libcompat: Add krb5/util")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Aug 16 2025, 10:42 PM
ngie added inline comments.
Makefile.libcompat
97–100

Should a comment be added for the change?

add some comments to explain the strange list of krb5 directories

This revision is now accepted and ready to land.Aug 16 2025, 11:15 PM
This revision was automatically updated to reflect the committed changes.

I wonder if it would have been simpler to move these libraries to krb5/lib.