git: 0f053e77c170 - main - science/libecpint: Add explicit Python build dependency (D29353)

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


The branch main has been updated by tobik:

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

commit 0f053e77c170f114b53f3ab793c668281e1a25a1
Author:     Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-07 03:31:00 +0000
Commit:     Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-04-07 04:19:56 +0000

    science/libecpint: 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.
    
    -- Could NOT find Python (missing: Python_EXECUTABLE Interpreter)
    CMake Error at src/CMakeLists.txt:22 (file):
      file failed to open for reading (No such file or directory):
    
        /wrkdirs/usr/ports/science/libecpint/work/.build/src/qlist.txt
    
    CMake Error at src/CMakeLists.txt:24 (add_custom_command):
      add_custom_command Wrong syntax.  A TARGET or OUTPUT must be specified.
    
    http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/libecpint-1.0.5.log
    
    PR:             254678
---
 science/libecpint/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/libecpint/Makefile b/science/libecpint/Makefile
index b6c0f69a06ab..3b681d33086f 100644
--- a/science/libecpint/Makefile
+++ b/science/libecpint/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libpugixml.so:textproc/pugixml
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake compiler:c++11-lang python:build
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes


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