Page MenuHomeFreeBSD

packages: Fix clang conditional
AbandonedPublic

Authored by ivy on Apr 27 2026, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 12, 3:08 AM
Unknown Object (File)
Mon, Jun 8, 10:48 PM
Unknown Object (File)
May 17 2026, 6:36 PM
Unknown Object (File)
May 17 2026, 6:28 PM
Unknown Object (File)
May 17 2026, 8:35 AM
Unknown Object (File)
May 16 2026, 11:55 PM
Unknown Object (File)
May 14 2026, 7:52 AM
Unknown Object (File)
May 13 2026, 4:37 PM
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.