From nobody Thu Oct 29 12:30:57 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jFk9F3hRCz6wwqM for ; Thu, 29 Oct 2026 12:30:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jFk9F2w3mz4KXv for ; Thu, 29 Oct 2026 12:30:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793277057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IGXRJmnv3/PlA9GM0yygyxZ4zdzACOxvyquGnsBuF9A=; b=v+cpjT6SOrhShVicJw7D//fxTlB5OJ9jTUIL5RlYAqzfyDrotRw9Xz4w8m0g3vNRHDSJm8 d9aq5/XCXFv9TAmHfnBDxd5jxadkKuCXZZjI4tS+pIaA1L02OHbHAxWnDSkzOK7V1m09k0 4cDFiQq3NcUHX5/r2XgBLYoDQnPtSgcd4m8aI5TiTRTzLAzTh6/zoqy6nKY4Xt2HpCEY/6 DkGclSomWul2cxQ1WIgUgtjRH2x2FogtNqj5os3HCdGHSd5Q0ctoT7ySAuYIOeBHIbVJjT UUlOXwxSVdDCjm0JCcUN4e5JjOnw8/iKjMUORy8IWhzelUZJ1YMD2RT90C1EuA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793277057; b=brQcydu0zl/Paxozy+lUaA8MT+lnguVJzWMQQ+CVjUdQCTjv05KnWV6d2J1roL3JYn9BC5 EVqbz0lpUIo6GmFjejVoH4CTcWl9ZR40Dnhe879DhwjG2lJJU0BtM6G9LCKDcF/aG3AN+o kaV68mRYnq0B82B35zP7/a+Ti2caxEyRIYiF7rThyI4btm7+EQZtOcCY+OIvpft7t9gEp3 OlZQUA+IB2/0p0Se3A6mZjdW7FztdkNmKOJhwG5udZ1BN/p5+aToclubBvqd0Q9Y+6mp33 K1lJv0reDymmTX9kpgCJwB4GzUgcpYLDpBmsitvONmquRp5+puQpoaSYEMYhtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793277057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IGXRJmnv3/PlA9GM0yygyxZ4zdzACOxvyquGnsBuF9A=; b=wTTm4rmKcd6azpv/zQkk3BKgUv7WDf+aCyZ+xgYgUqKiOGK4AmIvyyOyVwqbdfT1K0MHtz 1LkMNam0PogbVmz5QylLL3+2zrorddKS2j+KxEYn4QJqMdtaInHzBWAg5eTx9+VBGVWX6v OgDcyK8P1GLsVYG/mujrxw7aaoloPr/agJHfXBT97ffrSLMwBCwNnc+HjF8iIhCFq26W/e 68ggYaTUCzw2By7HiymZdomA1FGYjGAUvfCnVjVye5DV0UI3iNFdI2LoN9WW5Wl+SWcAUy Eio4lxPWNs3/hN//UoLkK+ZM2u2CzfJBbn0TnbzhufYZHTFILlWYXTgmtZ8L7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jFk9F2ZcHzglt for ; Thu, 29 Oct 2026 12:30:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3c31c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 29 Oct 2026 12:30:57 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 983cb64c05fa - main - Makefile.inc1: Make bootstrap mandoc's bootstrap libz dependency conditional List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: Commit messages for the main branch of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 983cb64c05fabe2b83338d4c2087a9114ed27a1c Auto-Submitted: auto-generated Date: Thu, 29 Oct 2026 12:30:57 +0000 Message-Id: <6ae33c81.3c31c.66e5d55e@gitrepo.freebsd.org> The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=983cb64c05fabe2b83338d4c2087a9114ed27a1c commit 983cb64c05fabe2b83338d4c2087a9114ed27a1c Author: Jessica Clarke AuthorDate: 2026-10-29 12:29:54 +0000 Commit: Jessica Clarke CommitDate: 2026-10-29 12:29:54 +0000 Makefile.inc1: Make bootstrap mandoc's bootstrap libz dependency conditional We bootstrap libz unconditionally on macOS and Linux, and conditionally on FreeBSD if pre-1600029 or DISK_IMAGE_TOOLS_BOOTSTRAP is enabled, but if building on new enough -CURRENT without DISK_IMAGE_TOOLS_BOOTSTRAP then libz is not bootstrapped and so this libz dependency does not exist. Add the dependency whenever we are bootstrapping libz but not otherwise, and do so without duplicating the condition. Fixes: 1dbcc7ee92c4 ("Makefile.inc1: Make sure mandoc bootstrap tool depends on libz") MFC after: 1 week --- Makefile.inc1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 0ade6d0c7ccd..d0a6517baf83 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}-lib/libz +${_bt}-usr.bin/mandoc: ${_bt}-lib/libopenbsd # The tools listed in _basic_bootstrap_tools will generally not be # bootstrapped unless BOOTSTRAP_ALL_TOOL is set. However, when building on a @@ -2979,6 +2979,11 @@ ${_bt}-usr.bin/sort: ${_bt}-lib/libmd ${_bt}-usr.bin/xinstall: ${_bt}-lib/libmd ${_bt}-sbin/md5: ${_bt}-lib/libmd .endif +.if target(${_bt}-lib/libz) +# If we are bootstrapping libz (e.g. when building on macOS/Linux) add the +# necessary dependency: +${_bt}-usr.bin/mandoc: ${_bt}-lib/libz +.endif #