Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 20:44:52 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409204 - head/Mk/Uses
Message-ID:  <201602192044.u1JKiqAK029692@repo.freebsd.org>

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



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