devel/cmake: Revert "devel/cmake: fix build with python 3.10 as default"

This reverts commit 913219385d.

Previously build of cmake failed if 3.10 is default version of
Python. And it was worked around by limiting the range of Python to
3.6-3.9. The source of the build error is runtime error of
textproc/py-sphinx with Python 3.10. But it is already fixed and
workaround isn't necessary any more. So revert the commit
corresponding to it.

PR:		258798
Approved by:	adridg (kde@), ygy (mentor)
MFH:		2021Q4
Differential Revision:	https://reviews.freebsd.org/D32282

(cherry picked from commit 272477b09c)
This commit is contained in:
Yasuhiro Kimura 2021-09-30 13:37:46 +09:00
parent e5e197dbda
commit 198a03aeba

View File

@ -35,9 +35,8 @@ OPTIONS_DEFINE= DOCS MANPAGES CPACK
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
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_USES= python:env
MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
MANPAGES_CONFIGURE_ON= --sphinx-man
CPACK_DESC= Enable FreeBSD generator in CPack (experimental)