git: 0cd7b5a3f54a - main - textproc/py-sphinx-material: unbreak the ports tree
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jun 2026 06:01:06 UTC
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0cd7b5a3f54a52042f1482e004e2ce70fe6c2275
commit 0cd7b5a3f54a52042f1482e004e2ce70fe6c2275
Author: Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2026-06-21 06:00:37 +0000
Commit: Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2026-06-21 06:00:37 +0000
textproc/py-sphinx-material: unbreak the ports tree
---
textproc/py-sphinx-material/Makefile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/textproc/py-sphinx-material/Makefile b/textproc/py-sphinx-material/Makefile
index e0102ff01641..53e9933828f4 100644
--- a/textproc/py-sphinx-material/Makefile
+++ b/textproc/py-sphinx-material/Makefile
@@ -25,7 +25,13 @@ PY_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \
#USE_GITHUB= yes
#GH_ACCOUNT= bashtage
-USES= python:-3.11
+USES= python
USE_PYTHON= distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 31200
+BROKEN= AttributeError: module 'configparser' has no attribute 'SafeConfigParser'.
+.endif
+
+.include <bsd.port.post.mk>