mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 19:50:31 -04:00
21 lines
812 B
Text
21 lines
812 B
Text
--- 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 ?= python3
|
|
+PYTHON = %%PYTHON_CMD%%
|
|
+slice2py_path = $(localbase)/bin/slice2py
|
|
|
|
# ----------------------------------------------------------------------
|
|
# Don't change anything below this line!
|
|
@@ -58,7 +59,7 @@ python_cppflags := $(filter-out -Wunreachable-
|
|
#
|
|
# Python installation directory
|
|
#
|
|
-install_pythondir = $(or $(PYTHON_INSTALLDIR),$(shell $(PYTHON) $(lang_srcdir)/config/install_dir $(prefix)))
|
|
+install_pythondir = %%PYTHON_SITELIBDIR%%
|
|
|
|
#
|
|
# Rules to build a python module. We just compute the name of the python module
|