Changeset View
Changeset View
Standalone View
Standalone View
www/node/files/patch-configure
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- configure.orig 2017-10-11 12:35:16 UTC | |||||
+++ configure | |||||
@@ -1357,7 +1357,9 @@ def get_bin_override(): | |||||
# sys.executable. This directory will be prefixed to the PATH, so that | |||||
# other tools that shell out to `python` will use the appropriate python | |||||
- if os.path.realpath(which('python')) == os.path.realpath(sys.executable): | |||||
+ which_python = which('python') | |||||
+ print("which_python=", which_python) | |||||
+ if which_python and os.path.realpath(which_python) == os.path.realpath(sys.executable): | |||||
return | |||||
bin_override = os.path.abspath('out/tools/bin') | |||||
@@ -1377,7 +1379,7 @@ def get_bin_override(): | |||||
# shells out, it finds the right python (specifically at | |||||
# https://github.com/nodejs/node/blob/d82e107/deps/v8/gypfiles/toolchain.gypi#L43) | |||||
os.environ['PATH'] = bin_override + ':' + os.environ['PATH'] | |||||
- | |||||
+ print("overridden path", bin_override, python_link) | |||||
return bin_override | |||||
output = { |