svn commit: r567066 - head/net/cjdns/files

Dima Panov fluffy at FreeBSD.org
Wed Mar 3 11:10:50 UTC 2021


Author: fluffy
Date: Wed Mar  3 11:10:50 2021
New Revision: 567066
URL: https://svnweb.freebsd.org/changeset/ports/567066

Log:
  net/cjdns:	Unbreak build with python3.8+
  
  PR:		253815
  Approved by:	python

Added:
  head/net/cjdns/files/patch-node__build_FindPython.js   (contents, props changed)

Added: head/net/cjdns/files/patch-node__build_FindPython.js
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cjdns/files/patch-node__build_FindPython.js	Wed Mar  3 11:10:50 2021	(r567066)
@@ -0,0 +1,11 @@
+--- node_build/FindPython.js.orig	2020-10-05 21:46:19 UTC
++++ node_build/FindPython.js
+@@ -23,7 +23,7 @@ var Fs = require('fs');
+ // de-prioritize because the testing script accepts ANY python3 version
+ // (as of this writing, we don't know what python3 versions actually work)
+ // whereas we know that python2.7 is the only working python2 version.
+-var PYTHONS = ["python3.7", "python3", "python2.7", "python2", "python"];
++var PYTHONS = ["python3.9", "python3.8", "python3.7", "python3", "python2.7", "python2", "python"];
+ 
+ var SCRIPT = [
+     'import sys',


More information about the svn-ports-all mailing list