diff options
Diffstat (limited to 'sys-cluster/hpx/files/hpx-1.5.1-python.patch')
-rw-r--r-- | sys-cluster/hpx/files/hpx-1.5.1-python.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-cluster/hpx/files/hpx-1.5.1-python.patch b/sys-cluster/hpx/files/hpx-1.5.1-python.patch new file mode 100644 index 000000000000..51e225e8f5bc --- /dev/null +++ b/sys-cluster/hpx/files/hpx-1.5.1-python.patch @@ -0,0 +1,37 @@ +From 0d250c5747f3a80ddda6f5bf298cead9048d1c28 Mon Sep 17 00:00:00 2001 +From: Kurt Kanzenbach <kurt@kmk-computers.de> +Date: Tue, 17 Mar 2020 16:20:35 +0100 +Subject: [PATCH] cmake: python: Use standard python interpreter + +These scripts are needed during build and run time. So, use a python interpreter +which works for both cases. + +Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> +--- + cmake/templates/hpxcxx.in | 2 +- + cmake/templates/hpxrun.py.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmake/templates/hpxcxx.in b/cmake/templates/hpxcxx.in +index 81f38f89367d..a0fd7837b066 100755 +--- a/cmake/templates/hpxcxx.in ++++ b/cmake/templates/hpxcxx.in +@@ -1,4 +1,4 @@ +-#! @PYTHON_EXECUTABLE@ ++#! /usr/bin/env python + # + # Copyright (c) 2014 Steven R. Brandt + # +diff --git a/cmake/templates/hpxrun.py.in b/cmake/templates/hpxrun.py.in +index 44a79e7cbffb..d4ab6020485e 100755 +--- a/cmake/templates/hpxrun.py.in ++++ b/cmake/templates/hpxrun.py.in +@@ -1,4 +1,4 @@ +-#! @PYTHON_EXECUTABLE@ ++#! /usr/bin/env python + # + # Copyright (c) 2014 Thomas Heller + # +-- +2.26.2 + |