git: 4574a86c526c - stable/15 - man: Conditionally install ar.5 in toolchain package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Oct 2025 17:29:56 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=4574a86c526c94d049e156fdf7f1c820b0f359be
commit 4574a86c526c94d049e156fdf7f1c820b0f359be
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-10-03 16:02:20 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-10-15 17:27:36 +0000
man: Conditionally install ar.5 in toolchain package
Previously if WITHOUT_TOOLCHAIN was set we'd create a FreeBSD-clang
package that contained only ar.5. As ar.5 describes the ar format
and doesn't come from Clang/LLVM move it to the FreeBSD-toolchain
package and make it conditional on MK_TOOLCHAIN.
Reviewed by: ivy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52886
(cherry picked from commit a8d774d9708c100a52f231065d9d5f1b4c3aceb7)
---
share/man/man5/Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index 0f6559b236c6..c13a8b7afde2 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -73,9 +73,11 @@ MANGROUPS+= BOOTLOADER
BOOTLOADER= device.hints.5
BOOTLOADERPACKAGE=bootloader
-MANGROUPS+= CLANG
-CLANG= ar.5
-CLANGPACKAGE= clang
+.if ${MK_TOOLCHAIN} != "no"
+MANGROUPS+= TOOLCHAIN
+TOOLCHAIN= ar.5
+TOOLCHAINPACKAGE=toolchain
+.endif
MANGROUPS+= LP
LP= hosts.lpd.5