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)
Wed, Oct 29, 6:57 AM
Unknown Object (File)
Wed, Oct 29, 3:49 AM
Unknown Object (File)
Wed, Oct 29, 3:49 AM
Unknown Object (File)
Wed, Oct 29, 3:49 AM
Unknown Object (File)
Wed, Oct 29, 3:46 AM
Unknown Object (File)
Sun, Oct 26, 2:49 AM
Unknown Object (File)
Sat, Oct 11, 3:49 AM
Unknown Object (File)
Sat, Oct 11, 3:49 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66290
Build 63173: arc lint + arc unit

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.