HomeFreeBSD

lang/spidermonkey{78,102}: fix build with Python 3.11

Description

lang/spidermonkey{78,102}: 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

Details

Provenance
vishwinAuthored on Mar 29 2023, 12:46 AM
Parents
R11:d84c4ab5c918: www/element-web: Update to 1.11.26
Branches
Unknown
Tags
Unknown