git: 677e3e510f57 - main - devel/libgit2: Add python as a build dep to fix NINJA_DEFAULT=samurai
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Nov 2022 14:31:16 UTC
The branch main has been updated by adamw:
URL: https://cgit.FreeBSD.org/ports/commit/?id=677e3e510f57a9de977eef3fbec384304a02815f
commit 677e3e510f57a9de977eef3fbec384304a02815f
Author: Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-11-22 14:25:31 +0000
Commit: Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-11-22 14:31:11 +0000
devel/libgit2: Add python as a build dep to fix NINJA_DEFAULT=samurai
Normally, python is brought in from ninja. When NINJA_DEFAULT=samurai,
that dependency is missing.
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
CMake Error at tests/libgit2/CMakeLists.txt:7 (message):
Could not find a python interpreter, which is needed to build the tests.
Make sure python is available, or pass -DBUILD_TESTS=OFF to skip building
the tests
Note that python is only used to build tests, so no PORTREVISION bump is
needed here.
---
devel/libgit2/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 89f47924c907..c757c815352b 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -17,7 +17,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \
libhttp_parser.so:www/http-parser
-USES= cmake cpe pkgconfig ssl
+USES= cmake cpe pkgconfig python:build ssl
USE_GITHUB= yes
USE_LDCONFIG= yes