This is an automated email from the ASF dual-hosted git repository.
jimjag pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6ca87852f2 python: drop the wildcard on the _sysconfigdata source in
d.lst
6ca87852f2 is described below
commit 6ca87852f272cc2c1dc2a96ba9d2897e1ee195b8
Author: Jim Jagielski <[email protected]>
AuthorDate: Tue Aug 4 11:16:58 2026 -0400
python: drop the wildcard on the _sysconfigdata source in d.lst
---
main/python/prj/d.lst | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/main/python/prj/d.lst b/main/python/prj/d.lst
index b6c100a2f3..6dfa3cb938 100644
--- a/main/python/prj/d.lst
+++ b/main/python/prj/d.lst
@@ -60,9 +60,12 @@ mkdir: %_DEST%\lib%_EXT%\python\python3.11\config
..\%__SRC%\misc\build\Python-3.11.15\Makefile
%_DEST%\lib%_EXT%\python\python3.11\config\Makefile
# _sysconfigdata filename is platform-mangled (e.g.
_sysconfigdata__darwin_darwin.py on macOS,
# _sysconfigdata__linux_x86_64-linux-gnu.py on Linux). On Linux, makefile.mk's
BUILD_ACTION
-# renames the generated file to the plain name below before delivery runs. Not
yet handled
-# for other platforms.
-..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata*.py
%_DEST%\lib%_EXT%\python\_sysconfigdata.py
+# renames the generated file to the plain name below before delivery runs (not
yet handled
+# for other platforms). The source below is deliberately NOT a wildcard:
deliver.pl's
+# glob_line() only renames-on-copy when the destination also has a wildcard;
paired with a
+# literal destination, a wildcard source makes it treat the destination as a
directory and
+# append the matched filename onto it, producing a bogus nested path.
+..\%__SRC%\misc\build\python-inst\lib\python3.11\_sysconfigdata.py
%_DEST%\lib%_EXT%\python\_sysconfigdata.py
..\pyversion.mk %_DEST%\inc%_EXT%\pyversion.mk
..\pyversion_dmake.mk %_DEST%\inc%_EXT%\pyversion_dmake.mk