Subject: CVS commit: pkgsrc/lang
From: Amitai Schleier
Date: 2020-08-14 21:28:44
Message id: 20200814192844.F32AAFB28@cvs.NetBSD.org

Log Message:
On systems where both of the conditions

1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH
   (e.g. Linux)
2. A previous libpython with the same major.minor is already installed
   (e.g. a previous version of this package)

hold, the built python will be linked with the installed libpython,
causing it to report an old teeny version in sys.version_info while
staging the install. Then "make package" fails with PLIST mismatches for
{,Pattern}Grammar.*.pickle.

pkgsrc knows which version we're building. Pass that down instead.

For platforms that weren't having this problem, no functional change
intended. For platforms that were, this simply restores "make package",
so no PKGREVISION bump.

Files:
RevisionActionfile
1.86modifypkgsrc/lang/python27/Makefile
1.74modifypkgsrc/lang/python27/distinfo
1.26modifypkgsrc/lang/python36/Makefile
1.31modifypkgsrc/lang/python36/distinfo
1.19modifypkgsrc/lang/python37/Makefile
1.18modifypkgsrc/lang/python37/distinfo
1.13modifypkgsrc/lang/python38/Makefile
1.10modifypkgsrc/lang/python38/distinfo
1.1addpkgsrc/lang/python27/patches/patch-Lib_lib2to3_pgen2_driver.py
1.1addpkgsrc/lang/python36/patches/patch-Lib_lib2to3_pgen2_driver.py
1.1addpkgsrc/lang/python37/patches/patch-Lib_lib2to3_pgen2_driver.py
1.1addpkgsrc/lang/python38/patches/patch-Lib_lib2to3_pgen2_driver.py