diff options
author | mat <mat@FreeBSD.org> | 2017-12-12 19:40:45 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:07:36 +0800 |
commit | d4cda7698627e62fb0e9bf0e081496524fbd1700 (patch) | |
tree | 73af3ced51d44400f86d4bdfe0583784ac09c760 /Mk/Uses | |
parent | 581c153579a9f77751f388ce2f9d295533d4d852 (diff) | |
download | freebsd-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.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 |