git: 46f45d83573a - main - graphics/mesa: Add py-packaging as BUILD_DEP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Jul 2025 05:59:34 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=46f45d83573a4095249b451ad154650fc1dc6c58
commit 46f45d83573a4095249b451ad154650fc1dc6c58
Author: Matthew Wener <matthew@wener.org>
AuthorDate: 2025-07-24 21:21:09 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2025-07-30 05:59:01 +0000
graphics/mesa: Add py-packaging as BUILD_DEP
- Due to the deprecation of distutils a version check in the meson.build code is failing
- This is fixed by adding py-packaging which is default approach for getting the version
- Note: We are not adding py-setuptools as distutils is a fallback approach to getting the version
PR: 287567
---
graphics/mesa-dri/Makefile.common | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common
index c88815f3a177..6862ddeb24ac 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -28,7 +28,8 @@ LICENSE_FILE= ${WRKSRC}/docs/license.rst
COMPONENT= ${PORTNAME:tl:C/^lib//:C/mesa-//}
-BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR}
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
.if ${COMPONENT} != clover
.if ${PORT_OPTIONS:MX11}
USES+= xorg