pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/MesaLib



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Apr 10 10:12:02 UTC 2024

Modified Files:
        pkgsrc/graphics/MesaLib: Makefile

Log Message:
MesaLib: fix build with Python 3.12


To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 pkgsrc/graphics/MesaLib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/MesaLib/Makefile
diff -u pkgsrc/graphics/MesaLib/Makefile:1.210 pkgsrc/graphics/MesaLib/Makefile:1.211
--- pkgsrc/graphics/MesaLib/Makefile:1.210      Mon Oct 23 06:37:46 2023
+++ pkgsrc/graphics/MesaLib/Makefile    Wed Apr 10 10:12:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.210 2023/10/23 06:37:46 wiz Exp $
+# $NetBSD: Makefile,v 1.211 2024/04/10 10:12:01 wiz Exp $
 
 DISTNAME=      mesa-21.3.9
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
@@ -141,6 +141,13 @@ CPPFLAGS+= -DSYSCONFDIR=${PKG_SYSCONFDIR
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} > 311
+# mako check in meson uses distutils
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+.endif
+
 BUILDLINK_TRANSFORM+=          rm:-Werror=incompatible-pointer-types
 
 # https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1854



Home | Main Index | Thread Index | Old Index