git: 4c110299a9b9 - main - devel/llvm12: fix build with python 3.12

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Wed, 14 Jan 2026 06:03:05 UTC
The branch main has been updated by antoine:

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

commit 4c110299a9b90511fc503223f3fda2441e733831
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2026-01-14 06:02:07 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2026-01-14 06:02:07 +0000

    devel/llvm12: fix build with python 3.12
    
    PR:             285957
---
 devel/llvm12/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/llvm12/Makefile b/devel/llvm12/Makefile
index 060d67ff9c9d..93898b358d60 100644
--- a/devel/llvm12/Makefile
+++ b/devel/llvm12/Makefile
@@ -15,6 +15,8 @@ WWW=		https://llvm.org/
 LICENSE_FILE_BSD3CLAUSE=${LICENSE_DIR}/utils/unittest/googletest/LICENSE.TXT
 .include "${.CURDIR}/../llvm-devel/Makefile.LICENSE"
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS}
+
 LLVM_RELEASE=	${DISTVERSION:C/rc.*//}
 LLVM_MAJOR=	${LLVM_RELEASE:C/\.[0-9]\.[0-9]$//}
 LLVM_SUFFIX=	${LLVM_MAJOR}