ports/science/py-tensorflow/files/patch-configure
Anthony Donnelly 56dc0e449f science/py-tensorflow: Update 1.15.5 -> 2.9.1
Big thank you to Anthony Donnelly for updating this difficult port.

PR:		266303
2022-09-13 13:32:36 -07:00

11 lines
289 B
Text

--- configure.orig 2022-05-22 22:28:22 UTC
+++ configure
@@ -4,7 +4,7 @@ set -e
set -o pipefail
if [ -z "$PYTHON_BIN_PATH" ]; then
- PYTHON_BIN_PATH=$(which python3 || which python || true)
+ PYTHON_BIN_PATH=$(which %%PYTHON%% || which python || true)
fi
# Set all env variables