git: e9c7d2b48706 - main - math/ambit: Add explicit Python build dependency (D29353)

Tobias Kortkamp tobik at FreeBSD.org
Wed Apr 7 04:20:14 UTC 2021


The branch main has been updated by tobik:

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

commit e9c7d2b48706794ce8f5c582d0edd7913d20c3f3
Author:     Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-07 03:27:57 +0000
Commit:     Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-04-07 04:19:55 +0000

    math/ambit: 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)
      cmake/FindPythonLibsNew.cmake:59 (find_package)
      CMakeLists.txt:96 (find_package)
    
    http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/ambit-tensor-0.5.1.log
    
    PR:             254678
---
 math/ambit/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/ambit/Makefile b/math/ambit/Makefile
index f83f931ccc56..183bb67044f4 100644
--- a/math/ambit/Makefile
+++ b/math/ambit/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS=	libhdf5.so:science/hdf5 \
 		libopenblas.so:math/openblas \
 		libsz.so:science/szip
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake compiler:c++11-lang python:build
 USE_GITHUB=	yes
 GH_ACCOUNT=	jturney
 USE_LDCONFIG=	yes


More information about the dev-commits-ports-all mailing list