git: 1070c0706362 - main - textproc/uncrustify: 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=1070c0706362da05bf2cc50bdaf348d2d5e8f81e
commit 1070c0706362da05bf2cc50bdaf348d2d5e8f81e
Author: Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-04-07 03:32:37 +0000
Commit: Tobias Kortkamp <tobik at FreeBSD.org>
CommitDate: 2021-04-07 04:19:57 +0000
textproc/uncrustify: 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)
CMakeLists.txt:20 (find_package)
http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/uncrustify-0.72.0.log
PR: 254678
---
textproc/uncrustify/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/textproc/uncrustify/Makefile b/textproc/uncrustify/Makefile
index a7ec954f70b2..a30f21d586bc 100644
--- a/textproc/uncrustify/Makefile
+++ b/textproc/uncrustify/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
-USES= cmake compiler:c++11-lang
+USES= cmake compiler:c++11-lang python:build
CMAKE_ARGS= -DNoGitVersionString:BOOL=TRUE
TEST_TARGET= test
More information about the dev-commits-ports-all
mailing list