svn commit: r409204 - head/Mk/Uses

Bryan Drewery bdrewery at FreeBSD.org
Fri Feb 19 20:44:54 UTC 2016


Author: bdrewery
Date: Fri Feb 19 20:44:52 2016
New Revision: 409204
URL: https://svnweb.freebsd.org/changeset/ports/409204

Log:
  For PYTHON_NO_DEPENDS don't pass PYTHON_VERSION to dependencies.
  
  The PYTHON_NO_DEPENDS only really makes sense in meta ports, where passing
  the PYTHON_VERSION doesn't make sense.  The ports listed will pick up
  USES+=python and the default version as needed.
  
  This fixes depending on both lang/python2 and lang/python3 in a meta package.

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Fri Feb 19 20:44:46 2016	(r409203)
+++ head/Mk/Uses/python.mk	Fri Feb 19 20:44:52 2016	(r409204)
@@ -372,7 +372,9 @@ IGNORE=		needs an unsupported version of
 # 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)
 DEPENDS_ARGS+=		PYTHON_VERSION=${PYTHON_VERSION}
+.endif
 
 # NOTE:
 #


More information about the svn-ports-all mailing list