aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-11-20 11:14:15 +0000
committerDima Panov <fluffy@FreeBSD.org>2022-11-20 11:14:15 +0000
commitbbb52b35ed7eb566deb8d80d1ba563c9c8844936 (patch)
treef2d4cfaa8911533175bfcb6e0105c1cf668b01ea /lang
parent6d3482231112b06a78ecab94c1d30c238c3e640b (diff)
downloadports-bbb52b35ed7eb566deb8d80d1ba563c9c8844936.tar.gz
ports-bbb52b35ed7eb566deb8d80d1ba563c9c8844936.zip
lang/spidermonkey91: limit Python version to 3.7-3.10 (+)
Old firefox engine still have harcoded 'rU' as file mode for 'fopen()' 'U' is default and deprecated since python-3.3, becomes a failure in 3.11. Instead of patching dozen files, limit python to 3.7-3.10 as it used only for configure stage. Approved by: portmgr blanket
Diffstat (limited to 'lang')
-rw-r--r--lang/spidermonkey91/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/spidermonkey91/Makefile b/lang/spidermonkey91/Makefile
index 989b82fe329b..2d491320483d 100644
--- a/lang/spidermonkey91/Makefile
+++ b/lang/spidermonkey91/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libffi.so:devel/libffi \
libnspr4.so:devel/nspr
USES= compiler:c++17-lang gmake localbase pathfix pkgconfig \
- python:build readline tar:xz
+ python:3.7-3.10,build readline tar:xz
USE_LDCONFIG= yes
SP_VER= 91
HAS_CONFIGURE= yes