Re: git: ccaff6c14f20 - main - python.mk: prepare handling versions with ABI flags appended
Date: Thu, 19 Jun 2025 19:50:16 UTC
Christoph Moench-Tegeder wrote:
> ## Charlie Li (vishwin@FreeBSD.org):
>
>> # Pattern to convert python versions (X.Y or X.YY) to comparable format X.YY
>> -_VC= C/^([1-9]\.)([0-9])$$/\10\2/
>> +_VC= C/^([1-9]\.)([0-9])$$/\10\2/:S/t$///
>>
>> .undef _PYTHON_VERSION_NONSUPPORTED
>> . if !empty(_PYTHON_VERSION_MINIMUM) && (${_PYTHON_VERSION:${_VC}} < ${_PYTHON_VERSION_MINIMUM:${_VC}})
>> @@ -525,7 +531,7 @@ FLAVOR= ${FLAVORS:[1]}
>> . endif
>> . endif
>
> Make doesn't like this (14.2):
> : bmake: "/usr/ports/Mk/Uses/python.mk" line 471: Unknown modifier "/"
> : bmake: "/usr/ports/Mk/Uses/python.mk" line 471: Malformed conditional (!empty(_PYTHON_VERSION_MAXIMUM) && (${_PYTHON_VERSION:${_VC}} > ${_PYTHON_VERSION_MAXIMUM:${_VC}}))
>
For some reason bmake on -CURRENT seems to take this okay. Hang tight,
figuring out something else or a revert is in order.
--
Charlie Li
...nope, still don't have an exit line.