svn commit: r353115 - head/Mk

Antoine Brodin antoine at FreeBSD.org
Tue May 6 17:43:11 UTC 2014


Author: antoine
Date: Tue May  6 17:43:11 2014
New Revision: 353115
URL: http://svnweb.freebsd.org/changeset/ports/353115
QAT: https://qat.redports.org/buildarchive/r353115/

Log:
  When a port needs a python version in a specific range that current python
  doesn't satisfy, prefer PYTHON2_DEFAULT or PYTHON3_DEFAULT over other
  versions.
  Previously, python34 was choosen despite python33 being the default python3.
  
  Silence from:	python
  With hat:	portmgr

Modified:
  head/Mk/bsd.python.mk

Modified: head/Mk/bsd.python.mk
==============================================================================
--- head/Mk/bsd.python.mk	Tue May  6 17:34:10 2014	(r353114)
+++ head/Mk/bsd.python.mk	Tue May  6 17:43:11 2014	(r353115)
@@ -289,7 +289,7 @@ IGNORE=				needs Python ${_PYTHON_VERSIO
 					But you specified ${_PYTHON_VERSION}
 .else
 .undef _PYTHON_VERSION
-.for ver in ${_PYTHON_ALLBRANCHES}
+.for ver in ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_ALLBRANCHES}
 __VER=		${ver}
 .if !defined(_PYTHON_VERSION) && \
 	!(!empty(_PYTHON_VERSION_MINIMUM) && ( \


More information about the svn-ports-all mailing list