Files
ports/devel/bazel7/files/patch-tools_python_python_bootstrap_template.txt
T
Xin LI 48ea19d500 devel/bazel7: Upgrade to 7.7.1.
PR:		ports/294256
Approved by:	yuri (maintainer)
2026-04-05 11:36:22 -07:00

12 lines
457 B
Plaintext

--- tools/python/python_bootstrap_template.txt.orig 1980-01-01 00:00:00 UTC
+++ tools/python/python_bootstrap_template.txt
@@ -76,7 +76,7 @@
def SearchPath(name):
"""Finds a file in a given search path."""
- search_path = os.getenv('PATH', os.defpath).split(os.pathsep)
+ search_path = os.getenv('PATH', os.defpath + ":%%PREFIX%%/bin").split(os.pathsep)
for directory in search_path:
if directory:
path = os.path.join(directory, name)