svn commit: r456120 - head/Mk/Uses

Mathieu Arnold mat at FreeBSD.org
Tue Dec 12 11:40:47 UTC 2017


Author: mat
Date: Tue Dec 12 11:40:45 2017
New Revision: 456120
URL: https://svnweb.freebsd.org/changeset/ports/456120

Log:
  Limit matching Python flavors to two digits.
  
  Sponsored by:	Absolight

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Tue Dec 12 11:38:48 2017	(r456119)
+++ head/Mk/Uses/python.mk	Tue Dec 12 11:40:45 2017	(r456120)
@@ -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
 


More information about the svn-ports-all mailing list