aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-12-12 19:40:45 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:07:36 +0800
commitd4cda7698627e62fb0e9bf0e081496524fbd1700 (patch)
tree73af3ced51d44400f86d4bdfe0583784ac09c760 /Mk/Uses
parent581c153579a9f77751f388ce2f9d295533d4d852 (diff)
downloadfreebsd-ports-gnome-d4cda7698627e62fb0e9bf0e081496524fbd1700.tar.gz
freebsd-ports-gnome-d4cda7698627e62fb0e9bf0e081496524fbd1700.tar.zst
freebsd-ports-gnome-d4cda7698627e62fb0e9bf0e081496524fbd1700.zip
Limit matching Python flavors to two digits.
Sponsored by: Absolight
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/python.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index 9030c3ab6f5e..a27e4bed9bd2 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -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