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

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245438

--- Comment #1 from [email protected] ---
A commit in branch main references this bug:

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

commit 182618bbff520c3e07fe1c7bc844986722d2baa9
Author:     Baptiste Daroussin <[email protected]>
AuthorDate: 2026-08-17 14:54:25 +0000
Commit:     Baptiste Daroussin <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.