pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc tor-browser: use python 3.9 or older for building



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0c8b1df6c24
branches:  trunk
changeset: 372523:d0c8b1df6c24
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 26 12:00:18 2022 +0000

description:
tor-browser: use python 3.9 or older for building

the next version will support 3.10

(Only relevant if you set your default to python 3.10)

diffstat:

 security/tor-browser/Makefile   |  5 ++++-
 www/firefox78/mozilla-common.mk |  4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r cdd6f7dfa5b6 -r d0c8b1df6c24 security/tor-browser/Makefile
--- a/security/tor-browser/Makefile     Wed Jan 26 07:19:03 2022 +0000
+++ b/security/tor-browser/Makefile     Wed Jan 26 12:00:18 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2021/12/08 16:06:24 adam Exp $
+# $NetBSD: Makefile,v 1.102 2022/01/26 12:00:18 wiz Exp $
 #
 # How to update this package:
 #
@@ -34,6 +34,9 @@
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/src-//}
 
+# as of 10.5.10, 11.x is fine with python 3.10
+PYTHON_VERSIONS_INCOMPATIBLE=  310
+
 MOZILLA_DIR=   # empty
 
 DEPENDS+=      tor-[0-9]*:../../net/tor
diff -r cdd6f7dfa5b6 -r d0c8b1df6c24 www/firefox78/mozilla-common.mk
--- a/www/firefox78/mozilla-common.mk   Wed Jan 26 07:19:03 2022 +0000
+++ b/www/firefox78/mozilla-common.mk   Wed Jan 26 12:00:18 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.13 2021/11/13 23:51:01 nia Exp $
+# $NetBSD: mozilla-common.mk,v 1.14 2022/01/26 12:00:18 wiz Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -6,7 +6,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYTHON_VERSIONS_INCOMPATIBLE+= 27
 PYTHON_FOR_BUILD_ONLY=         tool
 ALL_ENV+=                      PYTHON3=${PYTHONBIN}
 



Home | Main Index | Thread Index | Old Index