Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2021 04:20:05 GMT
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 529b2c5b34cc - main - devel/pybind11: Add explicit Python build dependency (D29353)
Message-ID:  <202104070420.1374K5j5019241@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tobik:

URL: https://cgit.FreeBSD.org/ports/commit/?id=529b2c5b34cc7805642dafafa7e6ae6047fd4cc9

commit 529b2c5b34cc7805642dafafa7e6ae6047fd4cc9
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2021-04-07 03:19:21 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2021-04-07 04:19:51 +0000

    devel/pybind11: Add explicit Python build dependency (D29353)
    
    This unbreaks the build when using devel/samurai.
    
    It previously got it through ninja which has a run dependency on
    Python.
    
    CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
      Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
    Call Stack (most recent call first):
      /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
      /usr/local/share/cmake/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
      tools/FindPythonLibsNew.cmake:98 (find_package)
      tools/pybind11Tools.cmake:45 (find_package)
      tools/pybind11Common.cmake:201 (include)
      CMakeLists.txt:188 (include)
    
    http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/pybind11-2.6.2.log
    
    PR:             254678
---
 devel/pybind11/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/pybind11/Makefile b/devel/pybind11/Makefile
index 1ed0c602ff77..e16189134b95 100644
--- a/devel/pybind11/Makefile
+++ b/devel/pybind11/Makefile
@@ -10,7 +10,7 @@ COMMENT=	Seamless interoperability between C++11 and Python (cmake part)
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake compiler:c++11-lang python:build
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	pybind



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104070420.1374K5j5019241>