[MacPorts] #71968: wabt fails to configure: needs C++17 and Python 3.x
MacPorts
noreply at macports.org
Wed Jan 29 13:25:21 UTC 2025
#71968: wabt fails to configure: needs C++17 and Python 3.x
---------------------------+------------------------
Reporter: barracuda156 | Owner: easieste@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: wabt |
---------------------------+------------------------
Comment (by barracuda156):
Replying to [comment:3 easye]:
> 1. Can I just let this default to the system Python?
I do not know the exact threshold, but obviously it failed for me with
system python. Maybe this works?
{{{
if {${os.platform} eq "darwin" && ${os.major} < 11} {
depends_build-append port:python311
license_noconflict python311
configure.python ${prefix}/bin/python3.11
} elseif {${os.platform} eq "darwin" && ${os.major} >= 19} {
configure.python /usr/bin/python3
} else {
configure.python /usr/bin/python
}
}}}
https://github.com/macports/macports-ports/blob/master/math/blis/Portfile
> 2. Otherwise, is there a way to specify a minimum Python version rather
than depending on an exact version?
That would be convenient, but I am unaware of such possibility.
--
Ticket URL: <https://trac.macports.org/ticket/71968#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list