aboutsummaryrefslogtreecommitdiff
path: root/devel/ice37/files/patch-python-config-Make.rules
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ice37/files/patch-python-config-Make.rules')
-rw-r--r--devel/ice37/files/patch-python-config-Make.rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/ice37/files/patch-python-config-Make.rules b/devel/ice37/files/patch-python-config-Make.rules
index 8878487979ba..214c405b354f 100644
--- a/devel/ice37/files/patch-python-config-Make.rules
+++ b/devel/ice37/files/patch-python-config-Make.rules
@@ -1,20 +1,20 @@
---- python/config/Make.rules.orig 2021-06-21 14:44:58 UTC
+--- python/config/Make.rules.orig 2023-11-06 09:24:19 UTC
+++ python/config/Make.rules
@@ -7,7 +7,8 @@
# version to be used for building the Ice extension, set PYTHON to the
# location of the python interpreter.
#
--PYTHON ?= python
+-PYTHON ?= python3
+PYTHON = %%PYTHON_CMD%%
+slice2py_path = $(localbase)/bin/slice2py
# ----------------------------------------------------------------------
# Don't change anything below this line!
-@@ -59,7 +60,7 @@ python_cppflags := $(filter-out -Wunreachable-
+@@ -58,7 +59,7 @@ python_cppflags := $(filter-out -Wunreachable-
#
# Python installation directory
#
--install_pythondir = $(or $(PYTHON_INSTALLDIR),$(if $(usr_dir_install),$(shell $(PYTHON) $(lang_srcdir)/config/install_dir),$(prefix)/python))
+-install_pythondir = $(or $(PYTHON_INSTALLDIR),$(shell $(PYTHON) $(lang_srcdir)/config/install_dir $(prefix)))
+install_pythondir = %%PYTHON_SITELIBDIR%%
#