[MacPorts] #66946: bazel-3.7 @3.7.2_1: build fails on Ventura, no python
MacPorts
noreply at macports.org
Sat Feb 18 16:54:26 UTC 2023
#66946: bazel-3.7 @3.7.2_1: build fails on Ventura, no python
------------------------+-------------------------
Reporter: kencu | Owner: missa-prime
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: ventura
Port: bazel-3.7 |
------------------------+-------------------------
Comment (by kencu):
this trivial little tweak fixes it:
{{{
% git diff
diff --git a/devel/bazel/Portfile b/devel/bazel/Portfile
index 95711397ded..522bb470dae 100644
--- a/devel/bazel/Portfile
+++ b/devel/bazel/Portfile
@@ -209,6 +209,7 @@ post-extract {
file mkdir ${workpath}/bin
ln -s ${prefix}/bin/python${py2ver} ${workpath}/bin/python2
ln -s ${prefix}/bin/python${py3ver} ${workpath}/bin/python3
+ ln -s ${prefix}/bin/python${py3ver} ${workpath}/bin/python
}
if {${os.platform} eq "darwin" && ${os.major} < 16} {
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66946#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list