lang/python38: Clean up unnecessary PLIST_SUB

- Remove XY: Replace .cpython-%%XY%% with %%PYTHON_EXT_SUFFIX%%
- Remove XYDOT:
  - Replace lib/python%%XYDOT%% with %%PYTHON_LIBDIR%%
  - Replace %%XYDOT%% with %%PYTHON_VER%%
- Rename XYZDOT to DISTVERSION
This commit is contained in:
Po-Chuan Hsieh 2023-10-05 09:58:14 +08:00
parent 1e692f640f
commit 1806222f59
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 7259 additions and 7261 deletions

View file

@ -41,9 +41,7 @@ SUB_FILES= pkg-message
SUB_LIST= PYTHON_SUFFIX=${PYTHON_SUFFIX}
PLIST_SUB= ABI=${ABIFLAGS} \
XY=${PYTHON_SUFFIX} \
XYDOT=${PYTHON_VER} \
XYZDOT=${DISTVERSION} \
DISTVERSION=${DISTVERSION} \
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554
OPTIONS_DEFINE= DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC

File diff suppressed because it is too large Load diff