git: 913219385dfd - main - devel/cmake: fix build with python 3.10 as default
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Aug 24 18:05:03 UTC 2021
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=913219385dfdf72232e6beefe287377cfebdfb04
commit 913219385dfdf72232e6beefe287377cfebdfb04
Author: Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-08-20 22:11:31 +0000
Commit: Dmitry Marakasov <amdmi3 at FreeBSD.org>
CommitDate: 2021-08-24 17:59:15 +0000
devel/cmake: fix build with python 3.10 as default
Approved by: portmgt blanket
---
devel/cmake/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index 836f15090974..208f5a9345f8 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -34,8 +34,9 @@ OPTIONS_DEFINE= DOCS MANPAGES CPACK
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
-MANPAGES_USES= python:env
-MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
+MANPAGES_USES= python:3.6-3.9,env
+MANPAGES_BUILD_DEPENDS= sphinx-build-${PYTHON_VER}:textproc/py-sphinx@${PY_FLAVOR}
+MANPAGES_VARS= BINARY_ALIAS=sphinx-build=sphinx-build-${PYTHON_VER}
MANPAGES_CONFIGURE_ON= --sphinx-man
CPACK_DESC= Enable FreeBSD generator in CPack (experimental)
More information about the dev-commits-ports-all
mailing list