1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

net/ceph14: allow to build with py36+, indeed.

No PORTREVISION bump, port was always unable to build for py3[78]

PR:		242071
Submitted by:	fluffy
Approved by:	maintainer (timeout, >2 weeks)
This commit is contained in:
Dima Panov 2019-12-06 13:50:33 +00:00
parent ff4640f3a3
commit d346da7579
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519142
3 changed files with 23 additions and 1 deletions

View File

@ -79,7 +79,7 @@ CMAKE_OFF= WITH_BOOST_CONTEXT WITH_LTTNG WITH_BABELTRACE WITH_KRBD WITH_XFS WITH
WITH_SPDK WITH_RDMA WITH_LIBCEPHFS WITH_CEPHFS WITH_RADOSGW_BEAST_FRONTEND \
WITH_MGR_DASHBOARD_FRONTEND
CMAKE_ARGS= \
-D WITH_PYTHON2=OFF -D WITH_PYTHON3=ON -DMGR_PYTHON_VERSION=3.6 \
-D WITH_PYTHON2=OFF -D WITH_PYTHON3=ON -DMGR_PYTHON_VERSION=${PYTHON_VER} \
-D CEPH_MAN_DIR:STRING=man
SHEBANG_FILES= src/rbdmap src/ceph-post-file.in src/rbd-replay-many \

View File

@ -0,0 +1,11 @@
--- cmake/modules/FindPython3Interp.cmake.orig 2019-09-13 18:07:41 UTC
+++ cmake/modules/FindPython3Interp.cmake
@@ -69,7 +69,7 @@
unset(_Python3_NAMES)
-set(_PYTHON3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(Python3Interp_FIND_VERSION)
if(Python3Interp_FIND_VERSION_COUNT GREATER 1)

View File

@ -0,0 +1,11 @@
--- cmake/modules/FindPython3Libs.cmake.orig 2019-09-13 18:07:41 UTC
+++ cmake/modules/FindPython3Libs.cmake
@@ -101,7 +101,7 @@ endif()
# To avoid picking up the system Python.h pre-maturely.
set(CMAKE_FIND_FRAMEWORK LAST)
-set(_PYTHON3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(Python3Libs_FIND_VERSION)
if(Python3Libs_FIND_VERSION_COUNT GREATER 1)