Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2021 04:20:06 GMT
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7789f5d26494 - main - devel/tinygo: Add explicit Python build dependency (D29353)
Message-ID:  <202104070420.1374K6US019453@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tobik:

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

commit 7789f5d26494c4d5288953042c1ebd98f422127c
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2021-04-07 03:21:24 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2021-04-07 04:19:51 +0000

    devel/tinygo: 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 PythonInterp (missing: PYTHON_EXECUTABLE)
    CMake Error at CMakeLists.txt:652 (message):
      Unable to find Python interpreter, required for builds and testing.
    
      Please install Python or specify the PYTHON_EXECUTABLE CMake variable.
    
    http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-04-04_07h37m38s/logs/errors/tinygo-0.14.1_1.log
    
    PR:             254678
---
 devel/tinygo/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/tinygo/Makefile b/devel/tinygo/Makefile
index c7117346283c..33fe4109593c 100644
--- a/devel/tinygo/Makefile
+++ b/devel/tinygo/Makefile
@@ -15,7 +15,7 @@ BUILD_DEPENDS=	cmake:devel/cmake \
 		ninja:devel/ninja
 TEST_DEPENDS=	qemu-system-arm:emulators/qemu
 
-USES=		gmake go:modules,run
+USES=		gmake go:modules,run python:build
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	tinygo-org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104070420.1374K6US019453>