Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2020 13:32:55 +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: r522485 - head/Mk/Uses
Message-ID:  <202001091332.009DWtkx001885@repo.freebsd.org>

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



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