mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
lang/python311: 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:
@@ -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:C/[a-z].*//} \
|
||||
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
|
||||
|
||||
+7863
-7863
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user