[Bug 245438] Mk/Scripts/do-depends.sh fails to propagate DEBUG_MK_* environment variables to find-lib.sh

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Aug 2026 15:11:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245438

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=182618bbff520c3e07fe1c7bc844986722d2baa9

commit 182618bbff520c3e07fe1c7bc844986722d2baa9
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-08-17 14:54:25 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-08-17 15:09:57 +0000

    Mk/Scripts/do-depends.sh: propagate DEBUG_MK_* to find-lib.sh

    env -i in find_lib() drops DEBUG_MK_SCRIPTS and
    DEBUG_MK_SCRIPTS_FIND_LIB, so find-lib.sh never enables tracing.
    Pass both through env -i.

    PR:             245438

 Mk/Scripts/do-depends.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.