Subject: CVS commit: [pkgsrc-2022Q2] pkgsrc/lang
From: Benny Siegert
Date: 2022-07-09 12:48:18
Message id: 20220709104818.4AD72FB1A@cvs.NetBSD.org

Log Message:
Pullup ticket #6647 - requested by khorben
lang/python39: build fix
lang/python310: build fix

Revisions pulled up:
- lang/python310/distinfo                                       1.17
- lang/python310/patches/patch-setup.py                         1.6
- lang/python39/distinfo                                        1.30
- lang/python39/patches/patch-setup.py                          1.9

---
   Module Name:    pkgsrc
   Committed By:   khorben
   Date:           Thu Jul  7 15:26:43 UTC 2022

   Modified Files:
           pkgsrc/lang/python310: distinfo
           pkgsrc/lang/python310/patches: patch-setup.py
           pkgsrc/lang/python39: distinfo
           pkgsrc/lang/python39/patches: patch-setup.py

   Log Message:
   python{39,310}: fix the build when the work directory is in $PREFIX

   As documented in pkg/56774, when WRKOBJDIR is in LOCALBASE (eg set to
   ${LOCALBASE}/work) then changes done to Python's setup.py made it
   unable to locate its own built-in modules, then failing to bootstrap and
   build.

   As suggested by tnn@; tested on NetBSD/amd64.

   XXX pull-up to pkgsrc-2022Q2

Files:
RevisionActionfile
1.16.2.1modifypkgsrc/lang/python310/distinfo
1.5.2.1modifypkgsrc/lang/python310/patches/patch-setup.py
1.29.2.1modifypkgsrc/lang/python39/distinfo
1.8.2.1modifypkgsrc/lang/python39/patches/patch-setup.py