git: 1dbcc7ee92c4 - main - Makefile.inc1: Make sure mandoc bootstrap tool depends on libz

From: Jessica Clarke <jrtc27_at_FreeBSD.org>
Date: Thu, 29 Oct 2026 00:45:15 UTC
The branch main has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=1dbcc7ee92c427480802cd1a40e1a1e3395d9bac

commit 1dbcc7ee92c427480802cd1a40e1a1e3395d9bac
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2026-10-29 00:45:01 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2026-10-29 00:45:01 +0000

    Makefile.inc1: Make sure mandoc bootstrap tool depends on libz
    
    It links against both libopenbsd and libz, so reflect this in the
    bootstrap tool's dependencies in case of races from highly-parallel
    builds.
    
    Reported by:    jkh
    MFC after:      1 week
---
 Makefile.inc1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 1ab53d6a3bcd..0ade6d0c7ccd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2779,7 +2779,7 @@ ${_bt}-${_tool}: ${_bt}-usr.bin/yacc ${_bt_lex_depend}
 .endfor
 .endif
 
-${_bt}-usr.bin/mandoc: ${_bt}-lib/libopenbsd
+${_bt}-usr.bin/mandoc: ${_bt}-lib/libopenbsd ${_bt}-lib/libz
 
 # The tools listed in _basic_bootstrap_tools will generally not be
 # bootstrapped unless BOOTSTRAP_ALL_TOOL is set. However, when building on a