aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-12-12 19:40:45 +0800
committermat <mat@FreeBSD.org>2017-12-12 19:40:45 +0800
commitc9b2cbc87e77d5fc9851c9ec342e63777c251219 (patch)
tree5d3ee449998b0ec0224759c734aad6d247e6a7ad
parent0727880e4517a26e1e55b61fa245868bb8a9300a (diff)
downloadfreebsd-ports-gnome-c9b2cbc87e77d5fc9851c9ec342e63777c251219.tar.gz
freebsd-ports-gnome-c9b2cbc87e77d5fc9851c9ec342e63777c251219.tar.zst
freebsd-ports-gnome-c9b2cbc87e77d5fc9851c9ec342e63777c251219.zip
Limit matching Python flavors to two digits.
Sponsored by: Absolight
-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