git: 4ef9d00bb341 - main - misc/pytorch: Fix build with removing setuptools from RUN_D

From: Wen Heping <wen_at_FreeBSD.org>
Date: Tue, 25 Jun 2024 13:28:49 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ef9d00bb341c69bb9de853708bef26089c089af

commit 4ef9d00bb341c69bb9de853708bef26089c089af
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-06-25 11:32:37 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-06-25 13:28:26 +0000

    misc/pytorch: Fix build with removing setuptools from RUN_D
    
    PR:             270510
    Approved by:    portmgr(blanket, fix build)
---
 misc/pytorch/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc/pytorch/Makefile b/misc/pytorch/Makefile
index 9ef9f9a49498..d4c28e48505c 100644
--- a/misc/pytorch/Makefile
+++ b/misc/pytorch/Makefile
@@ -16,7 +16,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BROKEN_i386=	compilation fails: error: use of undeclared identifier 'AVX2'
 
 BUILD_DEPENDS=	gmake:devel/gmake \
-		${LOCALBASE}/include/fxdiv.h:devel/fxdiv
+		${LOCALBASE}/include/fxdiv.h:devel/fxdiv \
+		${PY_SETUPTOOLS}
 LIB_DEPENDS=	libabsl_base.so:devel/abseil \
 		libblis.so:math/blis \
 		libopenblas.so:math/openblas \