summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-configure
diff options
context:
space:
mode:
authorAnthony Donnelly <amzo1337@gmail.com>2022-09-13 13:21:29 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-13 13:32:36 -0700
commit56dc0e449f2a0fdf190cfc1de367b148cbb5e467 (patch)
treed7af37d6282446e80c5c5e924f18790c0558d831 /science/py-tensorflow/files/patch-configure
parentnet-mgmt/zabbix62-server: Add PORTSCOUT (diff)
science/py-tensorflow: Update 1.15.5 -> 2.9.1
Big thank you to Anthony Donnelly for updating this difficult port. PR: 266303
Diffstat (limited to 'science/py-tensorflow/files/patch-configure')
-rw-r--r--science/py-tensorflow/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/py-tensorflow/files/patch-configure b/science/py-tensorflow/files/patch-configure
new file mode 100644
index 000000000000..bf95a05716ba
--- /dev/null
+++ b/science/py-tensorflow/files/patch-configure
@@ -0,0 +1,11 @@
+--- 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