From owner-svn-ports-all@freebsd.org Fri Dec 6 13:50:35 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D63D1CC866; Fri, 6 Dec 2019 13:50:35 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Tv9k6rlBz4RJV; Fri, 6 Dec 2019 13:50:34 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AF48820CC; Fri, 6 Dec 2019 13:50:34 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB6DoYNY041555; Fri, 6 Dec 2019 13:50:34 GMT (envelope-from fluffy@FreeBSD.org) Received: (from fluffy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB6DoYTF041552; Fri, 6 Dec 2019 13:50:34 GMT (envelope-from fluffy@FreeBSD.org) Message-Id: <201912061350.xB6DoYTF041552@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fluffy set sender to fluffy@FreeBSD.org using -f From: Dima Panov Date: Fri, 6 Dec 2019 13:50:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519142 - in head/net/ceph14: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fluffy X-SVN-Commit-Paths: in head/net/ceph14: . files X-SVN-Commit-Revision: 519142 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2019 13:50:35 -0000 Author: fluffy Date: Fri Dec 6 13:50:33 2019 New Revision: 519142 URL: https://svnweb.freebsd.org/changeset/ports/519142 Log: 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) Added: head/net/ceph14/files/patch-cmake_modules_FindPython3Interp.cmake (contents, props changed) head/net/ceph14/files/patch-cmake_modules_FindPython3Libs.cmake (contents, props changed) Modified: head/net/ceph14/Makefile Modified: head/net/ceph14/Makefile ============================================================================== --- head/net/ceph14/Makefile Fri Dec 6 13:28:49 2019 (r519141) +++ head/net/ceph14/Makefile Fri Dec 6 13:50:33 2019 (r519142) @@ -79,7 +79,7 @@ CMAKE_OFF= WITH_BOOST_CONTEXT WITH_LTTNG WITH_BABELTRA 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 \ Added: head/net/ceph14/files/patch-cmake_modules_FindPython3Interp.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ceph14/files/patch-cmake_modules_FindPython3Interp.cmake Fri Dec 6 13:50:33 2019 (r519142) @@ -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) Added: head/net/ceph14/files/patch-cmake_modules_FindPython3Libs.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ceph14/files/patch-cmake_modules_FindPython3Libs.cmake Fri Dec 6 13:50:33 2019 (r519142) @@ -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)