bsd.python.mk patch for review
Antoine Brodin
antoine at FreeBSD.org
Fri May 2 09:22:39 UTC 2014
Hi there,
Currently default python versions are inconsistent:
- python 3.3 is the default python3 version
- python 3.4 is preferred over python 3.3 when a port needs a python
version in a specific range
The patch below should address this, please review/test.
Cheers,
Antoine
Index: Mk/bsd.python.mk
===================================================================
--- Mk/bsd.python.mk (revision 352778)
+++ Mk/bsd.python.mk (working copy)
@@ -289,7 +289,7 @@
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) && ( \
-------------- next part --------------
Index: Mk/bsd.python.mk
===================================================================
--- Mk/bsd.python.mk (revision 352778)
+++ Mk/bsd.python.mk (working copy)
@@ -289,7 +289,7 @@
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 freebsd-python
mailing list