HomeFreeBSD

lang/spidermonkey91: fix build with Python 3.11

Description

lang/spidermonkey91: fix build with Python 3.11

open(), io.open() et al no longer accept 'U' ("universal newline")
in the file mode; the flag had been deprecated since Python 3.3. [0]
Failed during configure.

While here, remove duplicate Python dependency line and use root
configure script.

References:
[0] https://docs.python.org/3/whatsnew/3.11.html#porting-to-python-3-11

Requested by: fluffy

Details

Provenance
vishwinAuthored on Mar 29 2023, 12:54 PM
Parents
R11:d9c19641522f: devel/tl-expected: upgrade to 1.1.0
Branches
Unknown
Tags
Unknown