The ctfmerge(1) manpage https://man.freebsd.org/ctfmerge does not mention the supported environment variables. Fortunately, NetBSD already documented it some month ago and we can copy the section upstream except for CTFMERGE_NUM_THREADS https://man.netbsd.org/ctfmerge.1 https://github.com/NetBSD/src/commit/8a0c0d837af6f88a5a7d5a5081924e69cd374408 commit 8a0c0d837af6f88a5a7d5a5081924e69cd374408 Author: christos <christos@NetBSD.org> AuthorDate: Sat May 4 13:11:41 2024 +0000 Commit: christos <christos@NetBSD.org> CommitDate: Sat May 4 13:11:41 2024 +0000 Document environment variable use.
Okay, please commit
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=32cf24b725fdf899fb642c47004b69fcfae9b9db commit 32cf24b725fdf899fb642c47004b69fcfae9b9db Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2026-06-30 13:20:41 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-06-30 13:42:59 +0000 ctfmerge.1: Import ENVIRONMENT from NetBSD Import the ENVIRONMENT section from NetBSD, minus the variable that our ctfmerge does not have. Alphabetize them, polish grammar and alignment, and add the variables to the man database. While here, remove whitespace from the end of some lines to quiet linter. MFC after: 3 days PR: 291186 Co-authored-by: Alexander Ziaee <ziaee@FreeBSD.org> Obtained from: NetBSD (christos <christos@NetBSD.org>, 8a0c0d8) Differential Revision: https://reviews.freebsd.org/D54054 cddl/usr.bin/ctfmerge/ctfmerge.1 | 74 ++++++++++++++++++++++++++-------------- 1 file changed, 48 insertions(+), 26 deletions(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=565061836e1dabb7c115ea4026307097ca41c7f0 commit 565061836e1dabb7c115ea4026307097ca41c7f0 Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2026-06-30 13:20:41 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-08-05 15:54:24 +0000 ctfmerge.1: Import ENVIRONMENT from NetBSD Import the ENVIRONMENT section from NetBSD, minus the variable that our ctfmerge does not have. Alphabetize them, polish grammar and alignment, and add the variables to the man database. While here, remove whitespace from the end of some lines to quiet linter. MFC after: 3 days PR: 291186 Co-authored-by: Alexander Ziaee <ziaee@FreeBSD.org> Obtained from: NetBSD (christos <christos@NetBSD.org>, 8a0c0d8) Differential Revision: https://reviews.freebsd.org/D54054 (cherry picked from commit 32cf24b725fdf899fb642c47004b69fcfae9b9db) cddl/usr.bin/ctfmerge/ctfmerge.1 | 74 ++++++++++++++++++++++++++-------------- 1 file changed, 48 insertions(+), 26 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=2b0f4a74e2a1f4eea062d651fe6759c807646ffc commit 2b0f4a74e2a1f4eea062d651fe6759c807646ffc Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2026-06-30 13:20:41 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-08-05 18:50:27 +0000 ctfmerge.1: Import ENVIRONMENT from NetBSD Import the ENVIRONMENT section from NetBSD, minus the variable that our ctfmerge does not have. Alphabetize them, polish grammar and alignment, and add the variables to the man database. While here, remove whitespace from the end of some lines to quiet linter. MFC after: 3 days PR: 291186 Co-authored-by: Alexander Ziaee <ziaee@FreeBSD.org> Obtained from: NetBSD (christos <christos@NetBSD.org>, 8a0c0d8) Differential Revision: https://reviews.freebsd.org/D54054 (cherry picked from commit 32cf24b725fdf899fb642c47004b69fcfae9b9db) cddl/usr.bin/ctfmerge/ctfmerge.1 | 74 ++++++++++++++++++++++++++-------------- 1 file changed, 48 insertions(+), 26 deletions(-)