Page MenuHomeFreeBSD

packages: Fix clang conditional
AbandonedPublic

Authored by ivy on Apr 27 2026, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 13, 12:53 AM
Unknown Object (File)
Thu, Aug 13, 12:53 AM
Unknown Object (File)
Thu, Aug 13, 12:53 AM
Unknown Object (File)
Tue, Aug 11, 5:35 AM
Unknown Object (File)
Sat, Aug 8, 5:01 PM
Unknown Object (File)
Sat, Aug 8, 12:57 PM
Unknown Object (File)
Sat, Aug 8, 12:23 PM
Unknown Object (File)
Sat, Aug 8, 11:41 AM
Subscribers

Details

Reviewers
emaste
Group Reviewers
pkgbase
Summary

Various src.conf options can cause us to build something that ends up
in the clang package, but MK_TOOLCHAIN is not one of them; copy the
proper conditional from lib/Makefile to decide if we need to build
the package.

This fixes the build when LLVM/clang is entirely disabled.

Fixes: bb75b0d581f7 ("packages: Convert world to a subdir build")
MFC after: 2 weeks
Sponsored by: https://www.patreon.com/bsdivy

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72578
Build 69461: arc lint + arc unit

Event Timeline

ivy requested review of this revision.Apr 27 2026, 5:45 PM
This revision is now accepted and ready to land.Apr 27 2026, 5:47 PM

accidentally opened a duplicate review for this (D56657 is the right one), sorry.