svn commit: r522485 - head/Mk/Uses

Mathieu Arnold mat at FreeBSD.org
Thu Jan 9 13:32:55 UTC 2020


Author: mat
Date: Thu Jan  9 13:32:54 2020
New Revision: 522485
URL: https://svnweb.freebsd.org/changeset/ports/522485

Log:
  Remove the legacy way of passing Python version.
  
  This was used before flavors were a thing to make sure if you built port
  A with some python version, and it needed port B, port B would also be
  built with the same python version.
  
  PR:		243185
  Reviewed by:	antoine
  Differential Revision:	https://reviews.freebsd.org/D23084

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Thu Jan  9 13:01:45 2020	(r522484)
+++ head/Mk/Uses/python.mk	Thu Jan  9 13:32:54 2020	(r522485)
@@ -459,10 +459,6 @@ PY_FLAVOR=	py${_PYTHON_VERSION:S/.//}
 # try to find a different one, if the passed version fits into
 # the supported version range.
 PYTHON_VERSION?=	python${_PYTHON_VERSION}
-.if !defined(PYTHON_NO_DEPENDS) && \
-    ${PYTHON_VERSION} != python${PYTHON_DEFAULT}
-DEPENDS_ARGS+=		PYTHON_VERSION=${PYTHON_VERSION}
-.endif
 
 # NOTE:
 #


More information about the svn-ports-head mailing list