aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-04-07 03:32:37 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-04-07 04:19:57 +0000
commit1070c0706362da05bf2cc50bdaf348d2d5e8f81e (patch)
treef33c53fb9f6c2d1c4bfd7fd2f5a4697605be39af
parent0f053e77c170f114b53f3ab793c668281e1a25a1 (diff)
downloadports-1070c0706362da05bf2cc50bdaf348d2d5e8f81e.tar.gz
ports-1070c0706362da05bf2cc50bdaf348d2d5e8f81e.zip
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
-rw-r--r--textproc/uncrustify/Makefile2
1 files changed, 1 insertions, 1 deletions
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