aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-04-07 03:19:21 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-04-07 04:19:51 +0000
commit529b2c5b34cc7805642dafafa7e6ae6047fd4cc9 (patch)
tree2b3bcbb1ca7764a49e65659981f043f93d1bb210
parent8769057caece8a9a11608f6cdafd7f4408b01193 (diff)
downloadports-529b2c5b34cc7805642dafafa7e6ae6047fd4cc9.tar.gz
ports-529b2c5b34cc7805642dafafa7e6ae6047fd4cc9.zip
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
-rw-r--r--devel/pybind11/Makefile2
1 files changed, 1 insertions, 1 deletions
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