aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-08-20 22:11:31 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-08-24 17:59:15 +0000
commit913219385dfdf72232e6beefe287377cfebdfb04 (patch)
tree2a98d8e7abe0489206202ff38c70dfde1d459441
parent22498000911a4ce5c30413dd38d0aebb12c2849e (diff)
downloadports-913219385dfdf72232e6beefe287377cfebdfb04.tar.gz
ports-913219385dfdf72232e6beefe287377cfebdfb04.zip
devel/cmake: fix build with python 3.10 as default
Approved by: portmgt blanket
-rw-r--r--devel/cmake/Makefile5
1 files 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)