1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Limit matching Python flavors to two digits.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-12-12 11:40:45 +00:00
parent 3e56ce6204
commit 477fb04a27
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456120

View File

@ -451,7 +451,7 @@ FLAVOR= ${FLAVORS:[1]}
. endif
.endif
.if ${FLAVOR:Mpy[23]*}
.if ${FLAVOR:Mpy[23][0-9]}
_PYTHON_VERSION= ${FLAVOR:S/py//:C/(.)/\1./}
.endif