git: 1223a9d807e5 - main - Mk/bsd.port.mk: Use SETENV for EXTRACT_ENV

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Mon, 15 Jun 2026 10:12:12 UTC
The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1223a9d807e5855d72c8af0cdb3152241cf9c97f

commit 1223a9d807e5855d72c8af0cdb3152241cf9c97f
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-05-28 16:07:07 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-06-15 10:12:06 +0000

    Mk/bsd.port.mk: Use SETENV for EXTRACT_ENV
    
    Follow the precedent set by the other *_ENV variables in the ports
    framework.  The only practical effect is a very slight slowdown.
    
    Fixes:          98103f194302 ("Mk/bsd.port.mk: Add EXTRACT_ENV")
    Requested by:   arrowd
    MFH:            2026Q2
    Reviewed by:    mat
    Differential Revision:  https://reviews.freebsd.org/D57302
---
 Mk/bsd.port.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 46a2c6eda5e3..9e2f1ffb0285 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3211,7 +3211,7 @@ clean-wrkdir:
 .    if !target(do-extract)
 do-extract: ${EXTRACT_WRKDIR}
 	@for file in ${EXTRACT_ONLY}; do \
-		if ! (cd ${EXTRACT_WRKDIR} && ${EXTRACT_ENV} ${EXTRACT_CMD} \
+		if ! (cd ${EXTRACT_WRKDIR} && ${SETENV} ${EXTRACT_ENV} ${EXTRACT_CMD} \
 		    ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
 		then \
 			${ECHO_MSG} "===>  Failed to extract \"${_DISTDIR}/$$file\"."; \