Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 11:40:46 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456120 - head/Mk/Uses
Message-ID:  <201712121140.vBCBekEb022745@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712121140.vBCBekEb022745>