logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 1665723b70dd12a113489d39e9f00d5932a35cea
parent 76217c6b0d719820290e88dd0ef9b810b4c31194
Author: fosslinux <fosslinux@aussies.space>
Date:   Wed, 24 Jan 2024 14:36:54 +1100

Respect DESTDIR for lib-dynload directory in py 2.0.1

Diffstat:

Msteps/python-2.0.1/patches/destdir.patch15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/steps/python-2.0.1/patches/destdir.patch b/steps/python-2.0.1/patches/destdir.patch @@ -204,3 +204,18 @@ Python 2.0 does not support DESTDIR, so add it in. fi; \ done +@@ -249,10 +249,10 @@ + $(DESTSHARED): + @for i in $(DESTDIRS); \ + do \ +- if test ! -d $$i; then \ +- echo "Creating directory $$i"; \ +- mkdir $$i; \ +- chmod 755 $$i; \ ++ if test ! -d $(DESTDIR)$$i; then \ ++ echo "Creating directory $(DESTDIR)$$i"; \ ++ mkdir $(DESTDIR)$$i; \ ++ chmod 755 $(DESTDIR)$$i; \ + else true; \ + fi; \ + done