Monday, January 04, 2021

make ninja use python3

cmake uses python3, but ninja is still on python2.

Below diff switches ninja to python3 which should mean that 700+ ports
won't have python2 as an indirect BDEP anymore.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/ninja/Makefile,v
retrieving revision 1.32
diff -u -p -u -r1.32 Makefile
--- Makefile 2 Dec 2020 20:24:22 -0000 1.32
+++ Makefile 5 Jan 2021 05:50:54 -0000
@@ -10,6 +10,7 @@ COMMENT = small build system with a foc
GH_ACCOUNT = ninja-build
GH_PROJECT = ninja
GH_TAGNAME = v1.10.2
+REVISION = 0

CATEGORIES = devel

@@ -30,6 +31,7 @@ MODPY_ADJ_FILES = bootstrap.py \
configure.py \
misc/ninja_syntax.py \
src/browse.py
+MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}

# Not strictly required, but will be used if available. Included as a build
# dependency to ensure consistent builds.

No comments:

Post a Comment