aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-01-21 22:17:24 +1300
committerArslaan Pathan <[email protected]>2026-01-21 22:17:24 +1300
commitbe433efc29016d20e94521baee8bbe326e889560 (patch)
tree1173459431b2091ace8edb6437d66c60a5c48a3a /src/Makefile
parent1205f476a04327530e2e532e201da5bbb9917d9d (diff)
downloadpython-0.9.1-patched-QoL-be433efc29016d20e94521baee8bbe326e889560.tar.xz
python-0.9.1-patched-QoL-be433efc29016d20e94521baee8bbe326e889560.zip
Fix issues with PYTHONPATH and make install
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 6308b45..6d5280d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -70,7 +70,12 @@ RANLIB = ranlib # For BSD
# the interpreter from the source/build directory as distributed will
# find the library (admittedly a hack).
-DEFPYTHONPATH= .:/usr/local/lib/python:/ufs/guido/lib/python:../lib
+# patched by Arslaan Pathan, 2026-01-21
+# change DEFPYTHONPATH to the default INSTALL_DIR
+# used in the make install target I added at the
+# end of the file.
+INSTALL_DIR="/opt/python091"
+DEFPYTHONPATH= .:$(INSTALL_DIR)/lib:../lib
# For "Pure" BSD Systems
@@ -518,8 +523,7 @@ glmodule.c: cstubs cgen
# make install target added by Arslaan Pathan
# 2026-01-21
# installs into /opt/python091 by default
-
-INSTALL_DIR = /opt/python091
+# INSTALL_DIR is defined above, next to DEFPYTHONPATH
install: python
install -d $(INSTALL_DIR)