diff options
author | mat <mat@FreeBSD.org> | 2017-12-12 19:40:45 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-12-12 19:40:45 +0800 |
commit | c9b2cbc87e77d5fc9851c9ec342e63777c251219 (patch) | |
tree | 5d3ee449998b0ec0224759c734aad6d247e6a7ad | |
parent | 0727880e4517a26e1e55b61fa245868bb8a9300a (diff) | |
download | freebsd-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.mk | 2 |
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 |