Subject: CVS commit: pkgsrc/lang
From: Pierre Pronchery
Date: 2022-07-07 17:26:43
Message id: 20220707152643.D424BFB1A@cvs.NetBSD.org

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.9modifypkgsrc/lang/python39/patches/patch-setup.py
1.30modifypkgsrc/lang/python39/distinfo
1.6modifypkgsrc/lang/python310/patches/patch-setup.py
1.17modifypkgsrc/lang/python310/distinfo