Skip to content

Commit

Permalink
lang/spidermonkey91: limit Python version to 3.7-3.10 (+)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fluffykhv committed Nov 20, 2022
1 parent 6d34822 commit bbb52b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/spidermonkey91/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit bbb52b3

Please sign in to comment.